summaryrefslogtreecommitdiff
path: root/src/misc/getopt.c
AgeCommit message (Collapse)AuthorFilesLines
2012-09-30add getopt reset supportRich Felker1-2/+11
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-02-12initial check-in, version 0.5.0v0.5.0Rich Felker1-0/+63