summaryrefslogtreecommitdiff
path: root/include/getopt.h
AgeCommit message (Collapse)AuthorFilesLines
2016-07-03make brace placement in public header struct definitions consistentRich Felker1-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.
2012-09-30add getopt reset supportRich Felker1-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
2011-04-05getopt.h is a GNU-getopt-specific header. always expose GNU functions.Rich Felker1-2/+0
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker1-0/+33