about summary refs log tree commit diff
path: root/src/misc/getopt.c
Commit message (Collapse)AuthorAgeFilesLines
* Add ABI compatability aliases.Isaac Dunham2013-04-051-0/+2
| | | | | | | | GNU used several extensions that were incompatible with C99 and POSIX, so they used alternate names for the standard functions. The result is that we need these to run standards-conformant programs that were linked with glibc.
* add getopt reset supportRich Felker2012-09-301-2/+11
| | | | | | | based on proposed patches by Daniel Cegiełka, with minor changes: - use a weak symbol for optreset so it doesn't clash with namespace - also reset optpos (position in multi-option arg like -lR) - also make getopt_long support reset
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+63