about summary refs log tree commit diff
path: root/src/misc/getopt_long.c
Commit message (Collapse)AuthorAgeFilesLines
* add support for non-option arguments extension to getoptGianluca Anzolin2014-12-021-3/+4
| | | | | | | this is a GNU extension, activated by including '-' as the first character of the options string, whereby non-option arguments are processed as if they were arguments to an option character '\1' rather than ending option processing.
* add getopt reset supportRich Felker2012-09-301-0/+7
| | | | | | | 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
* cleanup src/linux and src/misc trees, etc.Rich Felker2012-09-071-0/+52
previously, it was pretty much random which one of these trees a given function appeared in. they have now been organized into: src/linux: non-POSIX linux syscalls (possibly shard with other nixen) src/legacy: various obsolete/legacy functions, mostly wrappers src/misc: still mostly uncategorized; some misc POSIX, some nonstd src/crypt: crypt hash functions further cleanup will be done later.