diff options
Diffstat (limited to 'man3/getopt.3')
| -rw-r--r-- | man3/getopt.3 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/man3/getopt.3 b/man3/getopt.3 index f4dc3a4f18..9f91dcd7fc 100644 --- a/man3/getopt.3 +++ b/man3/getopt.3 @@ -340,7 +340,8 @@ correct behaviour rather than that specified. .SH "CONFORMING TO" .TP \fBgetopt\fP(): -POSIX.2, provided the environment variable POSIXLY_CORRECT is set. +POSIX.2 and POSIX.1-2001, +provided the environment variable POSIXLY_CORRECT is set. Otherwise, the elements of \fIargv\fP aren't really const, because we permute them. We pretend they're const in the prototype to be compatible with other systems. @@ -353,8 +354,8 @@ SUSv1 permitted the declaration to appear in either .I <unistd.h> or .IR <stdio.h> . -SUSv3 marked the use of +POSIX.1-2001 marked the use of .I <stdio.h> for this purpose as LEGACY. -SUSv3 (POSIX.1-2001) does not allow the declaration to appear in +POSIX.1-2001 does not allow the declaration to appear in .IR <stdio.h> . |
