summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/getopt.c
AgeCommit message (Collapse)Author
1994-05-06merge back in our changes (mostly POSIX.2 pedanticism)jtc
1994-05-06sync with 44litejtc
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-26Declare rcsid strings so they are stored in text segment.jtc
1993-08-01Add RCS identifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd