aboutsummaryrefslogtreecommitdiff
path: root/src/misc/getopt.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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-2/+11
* initial check-in, version 0.5.0Rich Felker2011-02-121-0/+63