aboutsummaryrefslogtreecommitdiff
path: root/include/getopt.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* make brace placement in public header struct definitions consistent•••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. Rich Felker2016-07-031-2/+1
* add getopt reset support•••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 Rich Felker2012-09-301-1/+1
* getopt.h is a GNU-getopt-specific header. always expose GNU functions.Rich Felker2011-04-051-2/+0
* initial check-in, version 0.5.0Rich Felker2011-02-121-0/+33