summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/getopt.h
Commit message (Collapse)AuthorAgeFilesLines
* 2008-03-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2008-03-031-0/+6
| | | | | * libc/include/getopt.h (no_argument): Added for glibc compatibility. (required_argument, optional_argument): Ditto.
* 2008-02-29 Gregory Pietsch <gpietsch@comcast.net>Jeff Johnston2008-02-291-24/+62
| | | | | | | | | | | * libc/stdlib/getopt.c (getopt_internal): Rewrite to accept data area so as to support reentrant calls. Change all callers to fill in data area with global values and restore any changes to the global values after call. (__getopt_r, __getopt_long_r, __getopt_long_only_r): New routines to support reentrancy that add a data area argument. * libc/include/getopt.h: Add new _r routines and provide macros so they can be called with using double-underscores.
* 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>Jeff Johnston2006-01-041-0/+136
* libc/stdlib/getopt.c: Replaced with version that adds getopt_long and getopt_long_only support. * libc/include/getopt.h: New file.