summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/getopt.c
Commit message (Collapse)AuthorAgeFilesLines
* {MFC from rev 1.4}. If the string specifying options starts with a leadingJoseph Koshy2001-08-261-5/+2
| | | | | | | | | `:', then `getopt(3)' should not print a warning for missing argument values. Approved by: re Notes: svn path=/stable/4/; revision=82336
* MFC: Use strtok instead of strsep. Handle links explicitly in remove.Jordan K. Hubbard2000-09-201-1/+1
| | | | | | | Check additional failure case in getopt. Notes: svn path=/stable/4/; revision=66103
* Fix handling of trailing :'s to match what other OSes do (spit outJordan K. Hubbard1999-12-171-2/+8
| | | | | | | | | a diagnostis). Submitted by: Guy Harris <gharris@flashcom.net> Notes: svn path=/head/; revision=54713
* Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branchPeter Wemm1997-03-111-0/+117
Notes: svn path=/vendor/CSRG/dist/; revision=23658