summaryrefslogtreecommitdiff
path: root/src/misc/getopt_long.c
AgeCommit message (Collapse)AuthorFilesLines
2014-12-10support abbreviated options in getopt_longRich Felker1-7/+18
2014-12-10support options after non-option arguments in getopt_long (argv permutation)Rich Felker1-0/+39
2014-12-02add support for non-option arguments extension to getoptGianluca Anzolin1-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.
2012-09-30add getopt reset supportRich Felker1-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
2012-09-07cleanup src/linux and src/misc trees, etc.Rich Felker1-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.