summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/getopt_long.3 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Document BSD behavior of accepting '-' within optstring as long asmillert2002-12-101-5/+25
| | | | | | | | it is not the fist character of optstring (since that would conflict with GNU semantics). Update the bit on "W;" within optstring when called as getopt (not getopt_long) to current reality.
* make getopt_long and getopt_long_only protos match getopt.hmillert2002-12-051-3/+3
|
* Add "RETURN VALUES" sectionsmillert2002-12-041-1/+28
|
* GNU-like getopt_long() from NetBSD with changes by me to supportmillert2002-12-031-0/+326
getopt_long_only(). At some point this should replace the BSD getopt(3) but we are not there yet. While I am here add protection from the multiple getopt() definitions due to conflicting standards.