Fwd: "getopt.h" no longer part of <stdlib.h>

Joel Klecker jk@espy.org
Wed Aug 25 13:25:00 GMT 1999


>Date: Wed, 25 Aug 1999 12:16:42 -0700
>From: Brent Fulgham <bfulgham@xpsystems.com>
>X-Accept-Language: en
>To: debian-glibc@lists.debian.org
>Subject: "getopt.h" no longer part of <stdlib.h>
>
>Please CC all replies to me -- I am not subscribed to debian-glibc.
>
>One of the packages I maintain uses the tried-and-true getopt function
>from the C library.  The standard System V semantic is that get getopt
>function is included when you include <stdlib.h>.
>
>It seems (at least with 2.1.2-0pre10) that you have to explicitly
>include "getopt.h".  Is this consistent with how glibc is now doing
>things, or is this a bug?
>
>If it's the new standard, I have to add some #ifdef checks in
>the source to include "getopt.h" for 2.1.2 series libraries.
>
>Thanks,
>
>-Brent
>
>
>--
>To UNSUBSCRIBE, email to debian-glibc-request@lists.debian.org
>with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
-- 
Joel Klecker (aka Espy)                    Debian GNU/Linux Developer
<URL: mailto:jk@espy.org >                 <URL: mailto:espy@debian.org >
<URL: http://web.espy.org/ >               <URL: http://www.debian.org/ >


More information about the Libc-hacker mailing list