summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/getopt_long.3 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tidy up examplesjaredy2005-10-111-5/+5
| | | | | | | | - use err() for error handling - add lint hints - spacing nits and missing braces ok otto
* - typos, grammar, punctuation, layout tweaksjaredy2005-07-261-74/+156
| | | | | | | | - use `$' for command prompts - clean up: use a bullet list instead of adding junk to denote list items ok jmc
* - Rename index to longindex and explain its use.fgsch2004-01-061-9/+20
| | | | | | | | - Talk about zeroing the last element of the longopts array. - Remove '?' from the switch and some KNF to the code. - Change 0's to NULL where appropriate. jmc@ ok.
* escape punctuation;jmc2003-09-021-2/+2
| | | | ok deraadt@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Remove some liesmillert2003-06-021-4/+1
|
* typos;jmc2003-05-101-8/+8
|
* of ofderaadt2003-02-241-2/+2
|
* 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.