summaryrefslogtreecommitdiff
path: root/src/misc/getopt.c
AgeCommit message (Collapse)AuthorLines
2012-09-30add getopt reset supportRich Felker-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 Felker-0/+63