This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Joel Klecker <jk@espy.org> writes: > >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>. getopt.h never was included in stdlib.h. Old SysV systems included it in stdio.h which was deprecarted in Unix98 and will be removed in the next revision. The only portable way to get to the prototypes is using unistd.h. Which is of course logical since getopt is a POSIX function. -- ---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Cygnus Solutions `--' drepper at cygnus.com `------------------------
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |