Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2019 21:23:51 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Nilton Jose Rizzo <rizzo@rizzo.eng.br>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Where the best place to question about feature
Message-ID:  <20191123212351.8ae657af.freebsd@edvax.de>
In-Reply-To: <f59c14ce58459344024d4169b998c4ac1f90ebd2.camel@rizzo.eng.br>
References:  <f59c14ce58459344024d4169b998c4ac1f90ebd2.camel@rizzo.eng.br>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 23 Nov 2019 10:41:31 -0300, Nilton Jose Rizzo wrote:
> I'm have a quenstion about getopt_long functionality, where the best
> place to send my question?

The general questions mailing list (this one - freebsd-questions)
is probably appropriate. In worst case, address the freebsd-hackers
list. For more information see:

https://lists.freebsd.org/mailman/listinfo



> My questions is How I detect correct when the optional argument
> was passed or not

Without further investigation, I'd suggest to check the
section EXAMPLES in "man 3 getopt_long". If I remember
correctly, you define optional_argument for the flag and
check if optarg is a valid string (or NULL)...


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191123212351.8ae657af.freebsd>