standards/63173: Patch to add getopt_long_only(3) to libc

Andrey Chernov ache at nagual.pp.ru
Sun Feb 22 19:36:35 PST 2004


On Sun, Feb 22, 2004 at 09:37:41PM -0500, Garrett Wollman wrote:
> >  The intention of the way it's done in OpenBSD and the patch is to
> >  declare getopt(3) etc. unconditionally as done by the GNU getopt.h and
> >  not in specific namespaces (like __XSI_VISIBLE etc.).
> 
> If it's not declared the same way in the same place in every version
> of POSIX ever promulgated, then it needs to be in the appropriate
> namespace.

The question is really about 3rd party non-standard headers, like GNU 
ones. I.e. Should we protect all contents there with __XSI_VISIBLE, 
__POSIX_VISIBLE too or not?

-- 
Andrey Chernov | http://ache.pp.ru/


More information about the freebsd-standards mailing list