about summary refs log tree commit diff
path: root/include/getopt.h
Commit message (Collapse)AuthorAgeFilesLines
* make brace placement in public header struct definitions consistentRich Felker2016-07-031-2/+1
| | | | | | | | | | | | | | placing the opening brace on the same line as the struct keyword/tag is the style I prefer and seems to be the prevailing practice in more recent additions. these changes were generated by the command: find include/ arch/*/bits -name '*.h' \ -exec sed -i '/^struct [^;{]*$/{N;s/\n/ /;}' {} + and subsequently checked by hand to ensure that the regex did not pick up any false positives.
* add getopt reset supportRich Felker2012-09-301-1/+1
| | | | | | | 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
* getopt.h is a GNU-getopt-specific header. always expose GNU functions.Rich Felker2011-04-051-2/+0
|
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+33