summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/getopt.3
AgeCommit message (Collapse)Author
1994-05-06merge back in our changes (mostly POSIX.2 pedanticism)jtc
1994-05-06sync with 44litejtc
1994-01-10Fix spelling errors.jtc
1993-10-13Document (well, really just mention) external variable optopt.jtc
Add trailing semicolons to the extern variables in the SYNOPSIS section like all of the other manpages with extern variables.
1993-10-12POSIX.2 requires special behavior if the first character of the optstringjtc
argument is a colon. Updated the manpage to reflect the above change, and expanded the example to the one used by the POSIX.2 rationale, as it more clearly explains how the new behavior is to be used. The manpage should be rewritten --- it is much more confusing than it should be.
1993-09-14POSIX.2 has changed getopt to return -1 instead of EOF (to decouple getopt()jtc
from standard i/o). This change is more pedantic than functional as EOF is defined to be -1.
1993-08-01Add RCS indentifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd