diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2006-08-03 13:57:30 +0000 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2006-08-03 13:57:30 +0000 |
commit | 68e1685c25cab6c29e4250f592c39f47996776af (patch) | |
tree | 7d83ff852ff8dd6c7ca2fcaa610ab933590eba72 | |
parent | 97c1eac86f435d7feeef158417941751e7bd7a15 (diff) |
Updated CONFORMING TO section
295 files changed, 445 insertions, 412 deletions
diff --git a/man3/__setfpucw.3 b/man3/__setfpucw.3 index bffcb11ca..93fcc02f1 100644 --- a/man3/__setfpucw.3 +++ b/man3/__setfpucw.3 @@ -30,7 +30,7 @@ Set fpu control word on i386 architecture to .br .SH AVAILABILITY As of glibc 2.1 this function does not exist anymore. -There are new functions from ISO C99, with prototypes in +There are new functions from C99, with prototypes in .IR /usr/include/fenv.h , to control fpu rounding modes, like .IR fegetround , diff --git a/man3/a64l.3 b/man3/a64l.3 index 21ac2bfab..f27af271c 100644 --- a/man3/a64l.3 +++ b/man3/a64l.3 @@ -59,7 +59,7 @@ These functions are broken in glibc before 2.2.5 This is not the encoding used by .BR uuencode (1). .SH "CONFORMING TO" -XPG 4.2, POSIX 1003.1-2001. +POSIX.1-2001. .SH "SEE ALSO" .BR uuencode (1), .BR itoa (3), diff --git a/man3/abort.3 b/man3/abort.3 index a02d712fa..ac8ec617d 100644 --- a/man3/abort.3 +++ b/man3/abort.3 @@ -47,7 +47,7 @@ function will still override it. .SH "RETURN VALUE" The \fBabort\fP() function never returns. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899 (C99) +SVr4, POSIX.1-2001, 4.3BSD, C99 .SH "SEE ALSO" .BR sigaction (2), .BR exit (3), diff --git a/man3/abs.3 b/man3/abs.3 index 304a7c6a4..f567a5891 100644 --- a/man3/abs.3 +++ b/man3/abs.3 @@ -55,8 +55,9 @@ appropriate integer type for the function. Returns the absolute value of the integer argument, of the appropriate integer type for the function. .SH "CONFORMING TO" -SVID 3, POSIX.1, 4.3BSD, ISO/IEC 9899 (C99). POSIX.1 (1996 edition) only -requires the \fBabs\fP() function. ISO/IEC 9899:1990 (C89) only +SVr4, POSIX.1-2001, 4.3BSD, C99. +.\" POSIX.1 (1996 edition) only requires the \fBabs\fP() function. +C89 only includes the \fBabs\fP() and \fBlabs\fP() functions; the functions \fBllabs\fP() and \fBimaxabs\fP() were added in C99. .SH NOTES diff --git a/man3/acos.3 b/man3/acos.3 index aea1f1721..8f7c509f5 100644 --- a/man3/acos.3 +++ b/man3/acos.3 @@ -53,7 +53,7 @@ value is mathematically defined to be between 0 and PI (inclusive). .B EDOM \fIx\fP is out of range. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, POSIX.1-2001, 4.3BSD, C89. The float and long double variants are C99 requirements. .SH "SEE ALSO" .BR asin (3), diff --git a/man3/acosh.3 b/man3/acosh.3 index fc17e5e9a..509c66a68 100644 --- a/man3/acosh.3 +++ b/man3/acosh.3 @@ -53,7 +53,7 @@ is set. .B EDOM \fIx\fP is out of range. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, POSIX.1-2001, 4.3BSD, C89. The float and long double variants are C99 requirements. .SH "SEE ALSO" .BR asinh (3), diff --git a/man3/aio_cancel.3 b/man3/aio_cancel.3 index dead53638..2600626dd 100644 --- a/man3/aio_cancel.3 +++ b/man3/aio_cancel.3 @@ -73,7 +73,7 @@ is set appropriately. .I fd is not a valid file descriptor. .SH "CONFORMING TO" -POSIX 1003.1-2003 +POSIX.1-2001 .SH "SEE ALSO" .BR aio_error (3), .BR aio_fsync (3), diff --git a/man3/aio_error.3 b/man3/aio_error.3 index 2900dce17..6af3562f7 100644 --- a/man3/aio_error.3 +++ b/man3/aio_error.3 @@ -59,7 +59,7 @@ of which the return status (see .BR aio_return (3)) has not been retrieved yet. .SH "CONFORMING TO" -POSIX 1003.1-2003 +POSIX.1-2001 .SH "SEE ALSO" .BR aio_cancel (3), .BR aio_fsync (3), diff --git a/man3/aio_fsync.3 b/man3/aio_fsync.3 index 80c9ee237..ee4ee04af 100644 --- a/man3/aio_fsync.3 +++ b/man3/aio_fsync.3 @@ -76,7 +76,7 @@ No synchronized I/O for this file is supported, or .I op is not O_SYNC or O_DSYNC. .SH "CONFORMING TO" -POSIX 1003.1-2003 +POSIX.1-2001 .SH "SEE ALSO" .BR aio_cancel (3), .BR aio_error (3), diff --git a/man3/aio_read.3 b/man3/aio_read.3 index 7ee5c7e57..2750d0376 100644 --- a/man3/aio_read.3 +++ b/man3/aio_read.3 @@ -105,7 +105,7 @@ must not be accessed during the operation or undefined results may occur. The memory areas involved must remain valid. .SH "CONFORMING TO" -POSIX 1003.1-2003 +POSIX.1-2001 .SH "SEE ALSO" .BR aio_cancel (3), .BR aio_error (3), diff --git a/man3/aio_return.3 b/man3/aio_return.3 index 38f256687..0d0b21b94 100644 --- a/man3/aio_return.3 +++ b/man3/aio_return.3 @@ -56,7 +56,7 @@ On error, the error value is returned. does not point at a control block for an asynchronous I/O request of which the return status has not been retrieved yet. .SH "CONFORMING TO" -POSIX 1003.1-2003 +POSIX.1-2001 .SH "SEE ALSO" .BR aio_cancel (3), .BR aio_error (3), diff --git a/man3/aio_suspend.3 b/man3/aio_suspend.3 index ada65666d..3e4941489 100644 --- a/man3/aio_suspend.3 +++ b/man3/aio_suspend.3 @@ -73,7 +73,7 @@ One can achieve polling by using a non-NULL .I timeout that specifies a zero time interval. .SH "CONFORMING TO" -POSIX 1003.1-2003 +POSIX.1-2001 .SH "SEE ALSO" .BR aio_cancel (3), .BR aio_error (3), diff --git a/man3/aio_write.3 b/man3/aio_write.3 index 3a124dda5..19eaf8519 100644 --- a/man3/aio_write.3 +++ b/man3/aio_write.3 @@ -107,7 +107,7 @@ must not be accessed during the operation or undefined results may occur. The memory areas involved must remain valid. .SH "CONFORMING TO" -POSIX 1003.1-2003 +POSIX.1-2001 .SH "SEE ALSO" .BR aio_cancel (3), .BR aio_error (3), diff --git a/man3/alloca.3 b/man3/alloca.3 index cb7930d56..67d9668fb 100644 --- a/man3/alloca.3 +++ b/man3/alloca.3 @@ -61,7 +61,7 @@ There is evidence that the .BR alloca () function appeared in 32v, pwb, pwb.2, 3bsd, and 4bsd. There is a man page for it in 4.3BSD. Linux uses the GNU version. -This function is not in POSIX or SUSv3. +This function is not in POSIX.1-2001. .SH "NOTES ON THE GNU VERSION" Normally, .B gcc diff --git a/man3/asin.3 b/man3/asin.3 index fdcad22e9..ce33c3d36 100644 --- a/man3/asin.3 +++ b/man3/asin.3 @@ -56,7 +56,7 @@ value is mathematically defined to be between \-PI/2 and PI/2 .B EDOM \fIx\fP is out of range. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, POSIX.1-2001, 4.3BSD, C89. The float and long double variants are C99 requirements. .SH "SEE ALSO" .BR acos (3), diff --git a/man3/asinh.3 b/man3/asinh.3 index 0aa54e8f8..8c50f7259 100644 --- a/man3/asinh.3 +++ b/man3/asinh.3 @@ -47,7 +47,7 @@ Link with \-lm. The \fBasinh\fP() function calculates the inverse hyperbolic sine of \fIx\fP; that is the value whose hyperbolic sine is \fIx\fP. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, POSIX.1-2001, 4.3BSD, C89. The float and long double variants are C99 requirements. .SH "SEE ALSO" .BR acosh (3), diff --git a/man3/assert.3 b/man3/assert.3 index 0cc667bf9..3ed53716f 100644 --- a/man3/assert.3 +++ b/man3/assert.3 @@ -54,11 +54,12 @@ do_bar(), line 1287" is of no help at all to a user. .SH "RETURN VALUE" No value is returned. .SH "CONFORMING TO" -ISO9899 (ANSI C). In the 1990 standard, +POSIX.1-2001, C89, C99. +In C89, .I expression is required to be of type .I int -and undefined behavior results if it is not, but in the 1999 standard +and undefined behavior results if it is not, but in C99 it may have any scalar type. .\" See Defect Report 107 for more details. .SH BUGS diff --git a/man3/atan.3 b/man3/atan.3 index cd1e73d48..8e67231b4 100644 --- a/man3/atan.3 +++ b/man3/atan.3 @@ -51,7 +51,7 @@ The \fBatan\fP() function returns the arc tangent in radians and the value is mathematically defined to be between \-PI/2 and PI/2 (inclusive). .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, POSIX.1-2001, 4.3BSD, C89. The float and long double variants are C99 requirements. .SH "SEE ALSO" .BR acos (3), diff --git a/man3/atan2.3 b/man3/atan2.3 index 53a37a5c4..3fa390c8f 100644 --- a/man3/atan2.3 +++ b/man3/atan2.3 @@ -52,7 +52,7 @@ arguments are used to determine the quadrant of the result. The \fBatan2\fP() function returns the result in radians, which is between \-PI and PI (inclusive). .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, POSIX.1-2001, 4.3BSD, C89. The float and long double variants are C99 requirements. .SH "SEE ALSO" .BR acos (3), diff --git a/man3/atanh.3 b/man3/atanh.3 index d556fca2c..bdb8e72b7 100644 --- a/man3/atanh.3 +++ b/man3/atanh.3 @@ -53,7 +53,7 @@ not-a-number (NaN) and \fIerrno\fP is set. .B EDOM \fIx\fP is out of range. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, POSIX.1-2001, 4.3BSD, C89. The float and long double variants are C99 requirements. .SH "SEE ALSO" .BR acosh (3), diff --git a/man3/atexit.3 b/man3/atexit.3 index bf92aca5a..06c067de0 100644 --- a/man3/atexit.3 +++ b/man3/atexit.3 @@ -94,7 +94,7 @@ Functions registered using \fBatexit\fP() (and \fBon_exit\fP()) are not called if a process terminates abnormally because of the delivery of a signal. .SH "CONFORMING TO" -SVID 3, 4.3BSD, ISO 9899, POSIX 1003.1-2001 +SVr4, 4.3BSD, C89, C99, POSIX.1-2001. .SH "SEE ALSO" .BR _exit (3), .BR exit (3), diff --git a/man3/atof.3 b/man3/atof.3 index 76ec1fb3a..b6784fee6 100644 --- a/man3/atof.3 +++ b/man3/atof.3 @@ -47,7 +47,7 @@ except that \fBatof\fP() does not detect errors. .SH "RETURN VALUE" The converted value. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899 +SVr4, POSIX.1-2001, 4.3BSD, C89, C99. .SH "SEE ALSO" .BR atoi (3), .BR atol (3), diff --git a/man3/atoi.3 b/man3/atoi.3 index 596313def..965f9bcab 100644 --- a/man3/atoi.3 +++ b/man3/atoi.3 @@ -62,9 +62,11 @@ string to their return type of \fIlong\fP or \fIlong long\fP. .SH "RETURN VALUE" The converted value. .SH "CONFORMING TO" -SVID 3, POSIX.1, 4.3BSD, ISO/IEC 9899. ISO/IEC 9899:1990 (C89) and -POSIX.1 (1996 edition) include the functions \fBatoi\fP() and -\fBatol\fP() only; C99 adds the function \fBatoll\fP(). +SVr4, POSIX.1-2001, 4.3BSD, C99. +C89 and +POSIX.1-1996 include the functions \fBatoi\fP() and \fBatol\fP() only. +.BR atoq (3) +is a GNU extension. .SH NOTES The non-standard \fBatoq\fP() function is not present in libc 4.6.27 or glibc 2, but is present in libc5 and libc 4.7 (though only as an diff --git a/man3/basename.3 b/man3/basename.3 index 52bd66dfd..63ca86a8f 100644 --- a/man3/basename.3 +++ b/man3/basename.3 @@ -159,7 +159,7 @@ Before glibc 2.2.1, the glibc version of did not correctly handle pathnames with trailing '/' characters, and generated a segfault if given a NULL argument. .SH "CONFORMING TO" -POSIX 1003.1-2001 +POSIX.1-2001 .SH "SEE ALSO" .BR basename (1), .BR dirname (1) diff --git a/man3/bcmp.3 b/man3/bcmp.3 index 2cbb1b875..e22be4ec2 100644 --- a/man3/bcmp.3 +++ b/man3/bcmp.3 @@ -55,7 +55,8 @@ The function returns 0 if the byte sequences are equal, otherwise a non-zero result is returned. .SH "CONFORMING TO" -4.3BSD. This function is deprecated: use +4.3BSD. +This function is deprecated (marked as LEGACY in POSIX.1-2001): use .BR memcmp () in new programs. .SH "SEE ALSO" diff --git a/man3/bcopy.3 b/man3/bcopy.3 index bdd8cbeff..076ddc02b 100644 --- a/man3/bcopy.3 +++ b/man3/bcopy.3 @@ -50,7 +50,8 @@ The result is correct, even when both areas overlap. .SH "RETURN VALUE" None. .SH "CONFORMING TO" -4.3BSD. This function is deprecated: use +4.3BSD. +This function is deprecated (marked as LEGACY in POSIX.1-2001): use .BR memcpy () or .BR memmove () diff --git a/man3/bsearch.3 b/man3/bsearch.3 index 9b7b97668..b321f6286 100644 --- a/man3/bsearch.3 +++ b/man3/bsearch.3 @@ -102,7 +102,7 @@ int main(int argc, char **argv) { .fi .\" this example referred to in qsort.3 .SH "CONFORMING TO" -SVID 3, 4.3BSD, ISO 9899 (C99) +SVr4, 4.3BSD, POSIX.1-2001, C99 .SH "SEE ALSO" .BR hsearch (3), .BR lsearch (3), diff --git a/man3/btowc.3 b/man3/btowc.3 index fa0bff684..e9510fdc0 100644 --- a/man3/btowc.3 +++ b/man3/btowc.3 @@ -30,7 +30,7 @@ The \fBbtowc\fP() function returns the wide character converted from the single byte \fIc\fP. If \fIc\fP is EOF or not a valid multibyte sequence of length 1, it returns WEOF. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +ISO/ANSI C, POSIX.1-2001. .SH "SEE ALSO" .BR mbtowc (3) .SH NOTES diff --git a/man3/byteorder.3 b/man3/byteorder.3 index 5c3a45c98..19cad889b 100644 --- a/man3/byteorder.3 +++ b/man3/byteorder.3 @@ -60,7 +60,7 @@ On the i80x86 the host byte order is Least Significant Byte first, whereas the network byte order, as used on the Internet, is Most Significant Byte first. .SH "CONFORMING TO" -SUSv3. +POSIX.1-2001. Some systems require the inclusion of .I <netinet/in.h> diff --git a/man3/bzero.3 b/man3/bzero.3 index 2e5a5c4e2..77321c987 100644 --- a/man3/bzero.3 +++ b/man3/bzero.3 @@ -46,7 +46,8 @@ to zero (bytes containing '\\0'). .SH "RETURN VALUE" None. .SH "CONFORMING TO" -4.3BSD. This function is deprecated: use +4.3BSD. +This function is deprecated (marked as LEGACY in POSIX.1-2001): use .BR memset () in new programs. .SH "SEE ALSO" diff --git a/man3/catgets.3 b/man3/catgets.3 index caa288787..f67546c0e 100644 --- a/man3/catgets.3 +++ b/man3/catgets.3 @@ -74,11 +74,11 @@ is returned if the message catalog specified by is not available, while an empty string is returned when the message catalog is available but does not contain the specified message. -These two possible error returns seem to be discarded in XPG4.2 +These two possible error returns seem to be discarded in SUSv2 in favour of always returning .IR message . .SH "CONFORMING TO" -XPG4.2 +POSIX.1-2001. .SH "SEE ALSO" .BR catopen (3), .BR setlocale (3) diff --git a/man3/catopen.3 b/man3/catopen.3 index 00d00dca4..68a870b6b 100644 --- a/man3/catopen.3 +++ b/man3/catopen.3 @@ -135,7 +135,7 @@ The language to use if .I flag is 0. .SH NOTES -The above is the POSIX 1003.1-2001 description. +The above is the POSIX.1-2001 description. The glibc value for NL_CAT_LOCALE is 1. (Compare MCLoadAll below.) The default path varies, but usually looks at a number of places below @@ -165,10 +165,10 @@ The default search path varies, but usually looks at a number of places below and .IR /usr/lib/locale . .SH "CONFORMING TO" -POSIX 1003.1-2001. -In XPG 1987, Vol. 3 it says: -.I "The flag argument of catopen is reserved for future use" -.IR "and should be set to 0" . +POSIX.1-2001. +.\" In XPG 1987, Vol. 3 it says: +.\" .I "The flag argument of catopen is reserved for future use" +.\" .IR "and should be set to 0" . It is unclear what the source was for the constants MCLoadBySet and MCLoadAll. .SH "SEE ALSO" diff --git a/man3/cbrt.3 b/man3/cbrt.3 index 64676946f..5904b5172 100644 --- a/man3/cbrt.3 +++ b/man3/cbrt.3 @@ -45,8 +45,9 @@ The \fBcbrt\fP() function returns the (real) cube root of \fIx\fP. This function cannot fail; every representable real value has a representable real cube root. .SH "CONFORMING TO" -.BR cbrt () -was a GNU extension. It is now a C99 requirement. +C99 +.\" .BR cbrt () +.\" was a GNU extension. It is now a C99 requirement. .SH "SEE ALSO" .BR pow (3), .BR sqrt (3) diff --git a/man3/ceil.3 b/man3/ceil.3 index 190b7ed0d..a66b06fce 100644 --- a/man3/ceil.3 +++ b/man3/ceil.3 @@ -46,7 +46,7 @@ If \fIx\fP is NaN, then NaN is returned and .I errno may be set to EDOM. .SH NOTES -SUSv2 and POSIX 1003.1-2001 contain text about overflow (which might set +SUSv2 and POSIX.1-2001 contain text about overflow (which might set .I errno to ERANGE, or raise an exception). In practice, the result cannot overflow on any current machine, @@ -59,7 +59,7 @@ of mantissa bits is 24 (resp. 53).) .SH "CONFORMING TO" The .BR ceil () -function conforms to SVID 3, POSIX, 4.3BSD, ISO 9899. +function conforms to SVr4, POSIX.1-2001, 4.3BSD, C89, C99. The other functions are from C99. .SH "SEE ALSO" .BR floor (3), diff --git a/man3/cerf.3 b/man3/cerf.3 index 0ccbbb7fb..61c4257d3 100644 --- a/man3/cerf.3 +++ b/man3/cerf.3 @@ -30,9 +30,9 @@ The function is defined as cerfc(z) = 1\-cerf(z). .\" must check 1/sqrt(2*pi) ? .SH "CONFORMING TO" -The function name is reserved for future use in C99. +The function names are reserved for future use in C99. .SH AVAILABILITY -Not yet in glibc 2.3.2. +Not yet in glibc, as at version 2.4. .\" But reserved in NAMESPACE. .SH "SEE ALSO" .BR erf (3), diff --git a/man3/cexp2.3 b/man3/cexp2.3 index be66a870b..440779735 100644 --- a/man3/cexp2.3 +++ b/man3/cexp2.3 @@ -17,9 +17,9 @@ Link with \-lm. .SH DESCRIPTION The function returns 2 raised to the power of z. .SH "CONFORMING TO" -The function name is reserved for future use in C99. +The function nameis are reserved for future use in C99. .SH AVAILABILITY -Not yet in glibc 2.3.2. +Not yet in glibc, as at version 2.4. .\" But reserved in NAMESPACE. .SH "SEE ALSO" .BR cabs (3), diff --git a/man3/clearenv.3 b/man3/clearenv.3 index 3fe74c252..0620bf453 100644 --- a/man3/clearenv.3 +++ b/man3/clearenv.3 @@ -46,11 +46,12 @@ value on failure. Not in libc4, libc5. In glibc since glibc 2.0. .SH "CONFORMING TO" -Various Unix variants (DGUX, HPUX, QNX, ...). +Various Unix variants (DGUX, HP-UX, QNX, ...). POSIX.9 (bindings for FORTRAN77). POSIX.1-1996 did not accept \fBclearenv\fP() and \fIputenv\fP(), but changed its mind and scheduled these functions for some -later issue of this standard (cf. B.4.6.1). However, SUSv3 +later issue of this standard (cf. B.4.6.1). +However, POSIX.1-2001 only adds \fIputenv\fP(), and rejected \fBclearenv\fP(). .SH NOTES @@ -74,7 +75,7 @@ functions, then .BR clearenv () will return an error and the process environment will remain unchanged. .\" .LP -.\" HPUX has a ENOMEM error return. +.\" HP-UX has a ENOMEM error return. .SH "SEE ALSO" .BR getenv (3), .BR putenv (3), diff --git a/man3/clock.3 b/man3/clock.3 index 7a3731ada..4a8650045 100644 --- a/man3/clock.3 +++ b/man3/clock.3 @@ -45,7 +45,7 @@ to get the number of seconds used, divide by If the processor time used is not available or its value cannot be represented, the function returns the value (clock_t)\-1. .SH "CONFORMING TO" -ANSI C. +C89, C99, POSIX.1-2001. POSIX requires that CLOCKS_PER_SEC equals 1000000 independent of the actual resolution. .SH NOTES @@ -70,7 +70,7 @@ value returned by .BR clock (). .\" I have seen this behaviour on Irix 6.3, and the OSF/1, HP/UX, and .\" Solaris manual pages say that clock() also does this on those systems. -.\" POSIX 1003.1-2001 doesn't explicitly allow this, nor is there an +.\" POSIX.1-2001 doesn't explicitly allow this, nor is there an .\" explicit prohibition. -- MTK The .BR times () diff --git a/man3/clock_getres.3 b/man3/clock_getres.3 index fb1e8aebf..848b08277 100644 --- a/man3/clock_getres.3 +++ b/man3/clock_getres.3 @@ -184,7 +184,7 @@ are available. (See also .BR sysconf (3).) .SH "CONFORMING TO" -SUSv2, POSIX 1003.1-2001. +SUSv2, POSIX.1-2001. .SH "SEE ALSO" .BR date (1), .BR adjtimex (2), diff --git a/man3/clog2.3 b/man3/clog2.3 index b7f5e14ad..8a639f29f 100644 --- a/man3/clog2.3 +++ b/man3/clog2.3 @@ -18,9 +18,9 @@ Link with \-lm. The logarithm is defined as log2(cabs(z))+I*carg(z). Please note that z close to zero will cause an overflow. .SH "CONFORMING TO" -The function name is reserved for future use in C99. +These function names are reserved for future use in C99. .SH AVAILABILITY -Not yet in glibc 2.3.2. +Not yet in glibc, as at version 2.4. .\" But reserved in NAMESPACE. .SH "SEE ALSO" .BR cabs (3), diff --git a/man3/closedir.3 b/man3/closedir.3 index a21da0f25..1b4ef55ba 100644 --- a/man3/closedir.3 +++ b/man3/closedir.3 @@ -51,7 +51,7 @@ is set appropriately. .B EBADF Invalid directory stream descriptor \fIdir\fP. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD +SVr4, POSIX.1-2001, 4.3BSD .SH "SEE ALSO" .BR close (2), .BR opendir (3), diff --git a/man3/confstr.3 b/man3/confstr.3 index 824a2f7d0..24efda4ce 100644 --- a/man3/confstr.3 +++ b/man3/confstr.3 @@ -25,7 +25,7 @@ .\" are documented under 'info confstr'. .\" See <bits/confname.h> for the rest. .\" These should all be added to this page. -.\" See also the SUSv3 specification of confstr() +.\" See also the POSIX.1-2001 specification of confstr() .TH CONFSTR 3 1993-04-17 "GNU" "Linux Programmer's Manual" .SH NAME confstr \- get configuration dependent string variables diff --git a/man3/cos.3 b/man3/cos.3 index 7ac52ec9d..0f23f6b04 100644 --- a/man3/cos.3 +++ b/man3/cos.3 @@ -48,7 +48,7 @@ given in radians. .SH "RETURN VALUE" The \fBcos\fP() function returns a value between \-1 and 1. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, 4.3BSD, C99. The float and the long double variants are C99 requirements. .SH "SEE ALSO" .BR acos (3), diff --git a/man3/cosh.3 b/man3/cosh.3 index 47e0118c3..ddf2b27fb 100644 --- a/man3/cosh.3 +++ b/man3/cosh.3 @@ -48,8 +48,12 @@ Link with \-lm. The \fBcosh\fP() function returns the hyperbolic cosine of \fIx\fP, which is defined mathematically as (exp(x) + exp(\-x)) / 2. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899 (C99). -The float and the long double variants are C99 requirements. +SVr4, POSIX, 4.3BSD, C99. +The +.I float +and the +.I "long double" +variants are C99 requirements. .SH "SEE ALSO" .BR acosh (3), .BR asinh (3), diff --git a/man3/crypt.3 b/man3/crypt.3 index 465d5abc7..821ab635c 100644 --- a/man3/crypt.3 +++ b/man3/crypt.3 @@ -142,7 +142,7 @@ The entire key is significant here (instead of only the first .LP Programs using this function must be linked with \-lcrypt. .SH "CONFORMING TO" -SVID, X/OPEN, 4.3BSD, POSIX 1003.1-2001 +SVr4, 4.3BSD, POSIX.1-2001 .SH "SEE ALSO" .BR login (1), .BR passwd (1), diff --git a/man3/ctermid.3 b/man3/ctermid.3 index 8ff52a066..929edcb5e 100644 --- a/man3/ctermid.3 +++ b/man3/ctermid.3 @@ -46,7 +46,7 @@ is the maximum number of characters in the returned pathname. .SH "RETURN VALUE" The pointer to the pathname. .SH "CONFORMING TO" -SVID, Issue 1; POSIX.1 +Svr4, POSIX.1-2001. .SH BUGS The path returned may not uniquely identify the controlling terminal; it may, for example, be diff --git a/man3/ctime.3 b/man3/ctime.3 index 32df1efef..f1e28103f 100644 --- a/man3/ctime.3 +++ b/man3/ctime.3 @@ -220,7 +220,7 @@ defined when _BSD_SOURCE was set before including .IR <time.h> . This is a BSD extension, present in 4.3BSD-Reno. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899 +SVr4, POSIX.1-2001, 4.3BSD, C89, C99. .SH "SEE ALSO" .BR date (1), .BR gettimeofday (2), diff --git a/man3/difftime.3 b/man3/difftime.3 index 74546c3e4..166e7dd65 100644 --- a/man3/difftime.3 +++ b/man3/difftime.3 @@ -41,9 +41,8 @@ The two times are specified in calendar time, which represents the time elapsed since the Epoch (00:00:00 on January 1, 1970, Coordinated Universal Time (UTC)). .SH "CONFORMING TO" -SVID 3, 4.3BSD, ISO 9899 +SVr4, 4.3BSD, C99 .SH NOTES -This function is required by ANSI C. On a POSIX system, .I time_t is an arithmetic type, and one could just @@ -61,7 +60,7 @@ On other systems, the data type might use some other encoding where subtraction doesn't work directly. .SH "CONFORMING TO" -SVID 3, 4.3BSD, POSIX.1-2001. +SVr4, 4.3BSD, POSIX.1-2001. .SH "SEE ALSO" .BR date (1), .BR gettimeofday (2), diff --git a/man3/dirfd.3 b/man3/dirfd.3 index c1d07cfb8..71bffeb70 100644 --- a/man3/dirfd.3 +++ b/man3/dirfd.3 @@ -56,7 +56,10 @@ or is defined. .SH "CONFORMING TO" This is a BSD extension, present in 4.3BSD-Reno, not in 4.2BSD. -Present in libc5 (since 5.1.2) and in glibc2. +It is present in libc5 (since 5.1.2) and in glibc2. +.\" As at 2006: +This function is under consideration for inclusion in +a future version of POSIX.1. .SH "SEE ALSO" .BR open (2), .BR closedir (3), diff --git a/man3/div.3 b/man3/div.3 index d72524478..b51143f1e 100644 --- a/man3/div.3 +++ b/man3/div.3 @@ -66,12 +66,12 @@ After .fi the values \fIq.quot\fP and \fIq.rem\fP are \-1 and \-2, respectively. .SH "CONFORMING TO" -SVID 3, 4.3BSD, ISO 9899. +SVr4, 4.3BSD, C89. The functions .BR lldiv () and .BR imaxdiv () -were added in ISO C99. +were added in C99. .SH "SEE ALSO" .BR abs (3), .BR remainder (3) diff --git a/man3/dlopen.3 b/man3/dlopen.3 index be3e7bfcf..df4b55b0f 100644 --- a/man3/dlopen.3 +++ b/man3/dlopen.3 @@ -367,7 +367,7 @@ int main(int argc, char **argv) { } dlerror(); /* Clear any existing error */ -.\" This is the (somewhat ugly) SUSv3 TC1 fix for +.\" This is the (somewhat ugly) POSIX.1-2003 (TC1) fix for .\" the dlsym() casting problem *(void **) (&cosine) = dlsym(handle, "cos"); if ((error = dlerror()) != NULL) { @@ -419,7 +419,7 @@ The dlopen interface standard comes from SunOS. That system also has but not .BR dlvsym (). .SH "CONFORMING TO" -POSIX 1003.1-2003 describes +POSIX.1-2001 describes .BR dlclose (), .BR dlerror (), .BR dlopen (), diff --git a/man3/drand48.3 b/man3/drand48.3 index c6de4bb90..edae9a3c3 100644 --- a/man3/drand48.3 +++ b/man3/drand48.3 @@ -121,7 +121,7 @@ elements \fIparam[0-2]\fP specify \fIXi\fP, \fIparam[3-5]\fP specify has been called, a subsequent call to either \fBsrand48\fP() or \fBseed48\fP() will restore the standard values of \fIa\fP and \fIc\fP. .SH "CONFORMING TO" -SVID 3 +SVr4, POSIX.1-2001. .SH NOTES These functions are declared obsolete by SVID 3, which states that .BR rand(3) diff --git a/man3/ecvt.3 b/man3/ecvt.3 index 87f01a9b1..a1d0061ec 100644 --- a/man3/ecvt.3 +++ b/man3/ecvt.3 @@ -72,7 +72,8 @@ as .BR size_t . Not all locales use a point as the radix character (`decimal point'). .SH "CONFORMING TO" -System V release 2, XPG2 +SVr2; +marked as LEGACY in POSIX.1-2001. .SH "SEE ALSO" .BR ecvt_r (3), .BR gcvt (3), diff --git a/man3/encrypt.3 b/man3/encrypt.3 index 030f57060..826ad88d6 100644 --- a/man3/encrypt.3 +++ b/man3/encrypt.3 @@ -132,7 +132,7 @@ The functions .BR encrypt () and .BR setkey () -conform to SVID, SUSv2, and POSIX 1003.1-2001. +conform to SVr4, SUSv2, and POSIX.1-2001. The functions .BR encrypt_r () and diff --git a/man3/erf.3 b/man3/erf.3 index b38f5b209..d544e011b 100644 --- a/man3/erf.3 +++ b/man3/erf.3 @@ -58,7 +58,7 @@ erf(x) = 2/sqrt(pi)* integral from 0 to x of exp(\-t*t) dt The \fBerfc\fP() function returns the complementary error function of \fIx\fP, that is 1.0 \- erf(x). .SH "CONFORMING TO" -SVID 3, 4.3BSD, C99. +SVr4, 4.3BSD, C99. The float and long double variants are requirements of C99. .SH "SEE ALSO" .BR cerf (3), diff --git a/man3/errno.3 b/man3/errno.3 index 6a327a5b8..d6bbfe124 100644 --- a/man3/errno.3 +++ b/man3/errno.3 @@ -21,7 +21,7 @@ .\" USA. .\" .\" 5 Oct 2002, Modified by Michael Kerrisk <mtk-manpages@gmx.net> -.\" Updated for POSIX 1003.1 2001 +.\" Updated for POSIX.1 2001 .\" 2004-12-17 Martin Schulze <joey@infodrom.org>, mtk .\" Removed errno declaration prototype, added notes .\" 2006-02-09 Kurt Wall, mtk diff --git a/man3/exec.3 b/man3/exec.3 index 3aa7100d6..f23275732 100644 --- a/man3/exec.3 +++ b/man3/exec.3 @@ -197,11 +197,4 @@ and upon which they returned. They now return if any error other than the ones described above occurs. .SH "CONFORMING TO" -.BR execl (), -.BR execv (), -.BR execle (), -.BR execlp () -and -.BR execvp () -conform to -IEEE Std1003.1-88 (``POSIX.1''). +POSIX.1-2001. diff --git a/man3/exit.3 b/man3/exit.3 index e2cdb721c..fc4c2faa4 100644 --- a/man3/exit.3 +++ b/man3/exit.3 @@ -54,7 +54,7 @@ termination, respectively. .SH "RETURN VALUE" The \fBexit\fP() function does not return. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899 (``ANSI C'') +SVr4, 4.3BSD, POSIX.1-2001. .SH NOTES .LP It is undefined what happens if one of the diff --git a/man3/exp.3 b/man3/exp.3 index 00b09214a..0bb66c095 100644 --- a/man3/exp.3 +++ b/man3/exp.3 @@ -48,7 +48,7 @@ Link with \-lm. The \fBexp\fP() function returns the value of e (the base of natural logarithms) raised to the power of \fIx\fP. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, 4.3BSD, C89, POSIX.1-2001. The float and the long double variants are C99 requirements. .SH "SEE ALSO" .BR cbrt (3), diff --git a/man3/exp2.3 b/man3/exp2.3 index acc488b4c..af197fdfc 100644 --- a/man3/exp2.3 +++ b/man3/exp2.3 @@ -48,7 +48,7 @@ Compile with \-std=c99; link with \-lm. The \fBexp2\fP() function returns the value of 2 raised to the power of \fIx\fP. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, POSIX.1-2001, 4.3BSD, C89. The float and the long double variants are C99 requirements. .SH "SEE ALSO" .BR cbrt (3), diff --git a/man3/fabs.3 b/man3/fabs.3 index 0898416a4..e528b8b0f 100644 --- a/man3/fabs.3 +++ b/man3/fabs.3 @@ -50,7 +50,7 @@ No errors can occur. .SH "CONFORMING TO" The .BR fabs () -function conforms to SVID 3, POSIX, 4.3BSD, ISO 9899. +function conforms to SVr4, POSIX.1-2001, 4.3BSD, C89. The other functions are from C99. .SH "SEE ALSO" .BR abs (3), diff --git a/man3/fclose.3 b/man3/fclose.3 index a70d9d821..465a9e151 100644 --- a/man3/fclose.3 +++ b/man3/fclose.3 @@ -93,9 +93,7 @@ on disk the kernel buffers must be flushed too, e.g. with or .BR fsync (2). .SH "CONFORMING TO" -The -.BR fclose () -function conforms to ANSI X3.159-1989 (``ANSI C''). +C89, C99. .SH "SEE ALSO" .BR close (2), .BR fcloseall (3), diff --git a/man3/fenv.3 b/man3/fenv.3 index eb804a82d..eaaeaa523 100644 --- a/man3/fenv.3 +++ b/man3/fenv.3 @@ -252,4 +252,4 @@ function returns the set of all currently enabled exceptions. Link with .BR \-lm . .SH "CONFORMING TO" -IEC 60559 (IEC 559:1989), ANSI/IEEE 854, ISO C99 (ISO/IEC 9899:1999). +IEC 60559 (IEC 559:1989), ANSI/IEEE 854, C99. diff --git a/man3/ferror.3 b/man3/ferror.3 index 21ffb4fe3..214d990ba 100644 --- a/man3/ferror.3 +++ b/man3/ferror.3 @@ -99,7 +99,7 @@ The functions .BR feof (), and .BR ferror () -conform to X3.159-1989 (``ANSI C''). +conform to C89. .SH "SEE ALSO" .BR open (2), .BR fdopen (3), diff --git a/man3/fexecve.3 b/man3/fexecve.3 index 2c645a7a2..4e1d5081a 100644 --- a/man3/fexecve.3 +++ b/man3/fexecve.3 @@ -68,5 +68,7 @@ file system could not be accessed. is implemented since glibc 2.3.2. .SH "CONFORMING TO" This function is Linux specific. +.\" As at 2006: +It is under consideration for inclusion in a future version of POSIX.1. .SH "SEE ALSO" .BR execve (2) diff --git a/man3/fflush.3 b/man3/fflush.3 index 4a3702855..39644b496 100644 --- a/man3/fflush.3 +++ b/man3/fflush.3 @@ -93,9 +93,7 @@ the kernel buffers must be flushed too, e.g. with or .BR fsync (2). .SH "CONFORMING TO" -The function -.BR fflush () -conforms to ANSI X3.159-1989 (``ANSI C''). +C89, C99. .SH "SEE ALSO" .BR fsync (2), .BR sync (2), diff --git a/man3/ffs.3 b/man3/ffs.3 index abba4d48f..da2165e9d 100644 --- a/man3/ffs.3 +++ b/man3/ffs.3 @@ -58,7 +58,7 @@ These functions return the position of the first bit set, or 0 if no bits are set in .IR i . .SH "CONFORMING TO" -4.3BSD, POSIX 1003.1-2001. +4.3BSD, POSIX.1-2001. .SH NOTES BSD systems have a prototype in .IR <string.h> . diff --git a/man3/fgetgrent.3 b/man3/fgetgrent.3 index 190c3a675..4c21287bb 100644 --- a/man3/fgetgrent.3 +++ b/man3/fgetgrent.3 @@ -64,7 +64,7 @@ or NULL if there are no more entries or an error occurs. .B ENOMEM Insufficient memory to allocate group information structure. .SH "CONFORMING TO" -SVID 3 +SVr4 .SH "SEE ALSO" .BR endgrent (3), .BR fgetgrent_r (3), diff --git a/man3/fgetpwent.3 b/man3/fgetpwent.3 index b7e0cb3e8..90e2c8e2a 100644 --- a/man3/fgetpwent.3 +++ b/man3/fgetpwent.3 @@ -75,7 +75,7 @@ Insufficient memory to allocate passwd structure. .I /etc/passwd password database file .SH "CONFORMING TO" -SVID 3 +SVr4 .SH "SEE ALSO" .BR endpwent (3), .BR fgetpwent_r (3), diff --git a/man3/fgetwc.3 b/man3/fgetwc.3 index 6cc4c1059..da241321f 100644 --- a/man3/fgetwc.3 +++ b/man3/fgetwc.3 @@ -48,7 +48,7 @@ Apart from the usual ones, there is The data obtained from the input stream does not form a valid character. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +ISO/ANSI C, POSIX.1-2001. .SH NOTES The behaviour of \fBfgetwc\fP() depends on the LC_CTYPE category of the current locale. diff --git a/man3/fgetws.3 b/man3/fgetws.3 index c96ddb426..1966c9fe6 100644 --- a/man3/fgetws.3 +++ b/man3/fgetws.3 @@ -37,7 +37,7 @@ For a non-locking counterpart, see The \fBfgetws\fP() function, if successful, returns \fIws\fP. If end of stream was already reached or if an error occurred, it returns NULL. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +ISO/ANSI C, POSIX.1-2001. .SH NOTES The behaviour of \fBfgetws\fP() depends on the LC_CTYPE category of the current locale. diff --git a/man3/flockfile.3 b/man3/flockfile.3 index 864c2c115..9e63b6858 100644 --- a/man3/flockfile.3 +++ b/man3/flockfile.3 @@ -83,6 +83,6 @@ These functions are available when _POSIX_THREAD_SAFE_FUNCTIONS is defined. They are in libc since libc 5.1.1 and in glibc since glibc 2.0. .SH "CONFORMING TO" -POSIX.1 +POSIX.1-2001. .SH "SEE ALSO" .BR unlocked_stdio (3) diff --git a/man3/floor.3 b/man3/floor.3 index bdc27ecd5..6c742b653 100644 --- a/man3/floor.3 +++ b/man3/floor.3 @@ -46,7 +46,7 @@ If \fIx\fP is NaN, then NaN is returned and .I errno may be set to EDOM. .SH NOTES -SUSv2 and POSIX 1003.1-2001 contain text about overflow (which might set +SUSv2 and POSIX.1-2001 contain text about overflow (which might set .I errno to ERANGE, or raise an exception). In practice, the result cannot overflow on any current machine, @@ -59,7 +59,7 @@ of mantissa bits is 24 (resp. 53).) .SH "CONFORMING TO" The .BR floor () -function conforms to SVID 3, POSIX, 4.3BSD, ISO 9899. +function conforms to SVr4, 4.3BSD, ISO C89. The other functions are from C99. .SH "SEE ALSO" .BR ceil (3), diff --git a/man3/fmod.3 b/man3/fmod.3 index 75fde82b2..9fe91ede4 100644 --- a/man3/fmod.3 +++ b/man3/fmod.3 @@ -55,7 +55,7 @@ when the function fails and \fIerrno\fP is set. .B EDOM The denominator \fIy\fP is zero. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, 4.3BSD, C89. The float and the long double variants are C99 requirements. .SH "SEE ALSO" .BR remainder (3) diff --git a/man3/fmtmsg.3 b/man3/fmtmsg.3 index cfcadeec4..d21e6a90d 100644 --- a/man3/fmtmsg.3 +++ b/man3/fmtmsg.3 @@ -216,12 +216,12 @@ and environment variables .B MSGVERB and .B SEV_LEVEL -come from System V (XPG4-UNIX). +come from System V. The function .BR fmtmsg () and the environment variable .B MSGVERB -are described in POSIX 1003.1-2001. +are described in POSIX.1-2001. .SH NOTES System V and Unixware man pages tell us that these functions have been replaced by "pfmt() and addsev()" or by "pfmt(), diff --git a/man3/fnmatch.3 b/man3/fnmatch.3 index bb46a101d..deb723890 100644 --- a/man3/fnmatch.3 +++ b/man3/fnmatch.3 @@ -90,7 +90,8 @@ matches .B FNM_NOMATCH if there is no match or another non-zero value if there is an error. .SH "CONFORMING TO" -ISO/IEC 9945-2: 1993 (POSIX.2). The +POSIX.2. +The .BR FNM_FILE_NAME ", " FNM_LEADING_DIR ", and " FNM_CASEFOLD flags are GNU extensions. .SH "SEE ALSO" diff --git a/man3/fopen.3 b/man3/fopen.3 index c61587092..fc3125b3d 100644 --- a/man3/fopen.3 +++ b/man3/fopen.3 @@ -93,8 +93,8 @@ The .I mode string can also include the letter ``b'' either as a last character or as a character between the characters in any of the two-character strings -described above. This is strictly for compatibility with ANSI X3.159-1989 -(``ANSI C'') and has no effect; the ``b'' is ignored on all POSIX +described above. This is strictly for compatibility with C89 +and has no effect; the ``b'' is ignored on all POSIX conforming systems, including Linux. (Other systems may treat text files and binary files differently, and adding the ``b'' may be a good idea if you do I/O to a binary @@ -226,9 +226,10 @@ The .BR fopen () and .BR freopen () -functions conform to ANSI X3.159-1989 (``ANSI C''). The +functions conform to C89. + The .BR fdopen () -function conforms to IEEE Std1003.1-1988 (``POSIX.1''). +function conforms to POSIX.1-1990. .SH "GLIBC EXTENSIONS" The GNU C library allows the following extensions for the string specified in .IR mode : diff --git a/man3/fputwc.3 b/man3/fputwc.3 index 31f743bc7..40d29687d 100644 --- a/man3/fputwc.3 +++ b/man3/fputwc.3 @@ -45,7 +45,7 @@ Apart from the usual ones, there is .B EILSEQ Conversion of \fIwc\fP to the stream's encoding fails. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +ISO/ANSI C, POSIX.1-2001. .SH NOTES The behaviour of \fBfputwc\fP() depends on the LC_CTYPE category of the current locale. diff --git a/man3/fputws.3 b/man3/fputws.3 index 61693014a..be340823d 100644 --- a/man3/fputws.3 +++ b/man3/fputws.3 @@ -31,7 +31,7 @@ For a non-locking counterpart, see The \fBfputws\fP() function returns a nonnegative integer if the operation was successful, or \-1 to indicate an error. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +ISO/ANSI C, POSIX.1-2001. .SH NOTES The behaviour of \fBfputws\fP() depends on the LC_CTYPE category of the current locale. diff --git a/man3/fread.3 b/man3/fread.3 index 72c2e2100..61167426a 100644 --- a/man3/fread.3 +++ b/man3/fread.3 @@ -91,11 +91,7 @@ and .BR ferror (3) to determine which occurred. .SH "CONFORMING TO" -The functions -.BR fread () -and -.BR fwrite () -conform to ANSI X3.159-1989 (``ANSI C''). +C89, POSIX.1-2001. .SH "SEE ALSO" .BR read (2), .BR write (2), diff --git a/man3/frexp.3 b/man3/frexp.3 index 8386bf9f0..384181d6b 100644 --- a/man3/frexp.3 +++ b/man3/frexp.3 @@ -55,7 +55,7 @@ and its absolute value is always in the range 1/2 (inclusive) to 1 (exclusive). If \fIx\fP is zero, then the normalized fraction is zero and zero is stored in \fIexp\fP. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, 4.3BSD, C89. The float and the long double variants are C99 requirements. .SH EXAMPLE .nf diff --git a/man3/fseek.3 b/man3/fseek.3 index 346162bcc..2ef26539b 100644 --- a/man3/fseek.3 +++ b/man3/fseek.3 @@ -158,14 +158,7 @@ for any of the errors specified for the routines and .BR malloc (3). .SH "CONFORMING TO" -The -.BR fgetpos (), -.BR fsetpos (), -.BR fseek (), -.BR ftell (), -and -.BR rewind () -functions conform to ANSI X3.159-1989 (``ANSI C''). +C89, C99. .SH "SEE ALSO" .BR lseek (2), .BR fseeko (3) diff --git a/man3/fseeko.3 b/man3/fseeko.3 index 8be20ae33..98d52b0f5 100644 --- a/man3/fseeko.3 +++ b/man3/fseeko.3 @@ -65,10 +65,6 @@ These functions are found on System V-like systems. They are not present in libc4, libc5, glibc 2.0 but are available since glibc 2.1. .SH "CONFORMING TO" -The -.BR fseeko () -and -.BR ftello () -functions conform to SUSv2. +SUSv2, POSIX.1-2001. .SH "SEE ALSO" .BR fseek (3) diff --git a/man3/ftime.3 b/man3/ftime.3 index 3f9e84845..b34df6197 100644 --- a/man3/ftime.3 +++ b/man3/ftime.3 @@ -79,7 +79,7 @@ The .BR ftime () function appeared in 4.2BSD. .SH "CONFORMING TO" -4.2BSD, POSIX 1003.1-2001. +4.2BSD, POSIX.1-2001. .SH "SEE ALSO" .BR gettimeofday (2), .BR time (2) diff --git a/man3/ftok.3 b/man3/ftok.3 index 7553c5bae..4410917cb 100644 --- a/man3/ftok.3 +++ b/man3/ftok.3 @@ -66,7 +66,7 @@ indicating the error as for the .BR stat (2) system call. .SH "CONFORMING TO" -XPG4 +POSIX.1-2001. .SH NOTES Under libc4 and libc5 (and under SunOS 4.x) the prototype was .RS diff --git a/man3/ftw.3 b/man3/ftw.3 index 0e5aec4d7..af88ee52c 100644 --- a/man3/ftw.3 +++ b/man3/ftw.3 @@ -275,7 +275,7 @@ The function .BR nftw () and the use of \fBFTW_SL\fP with .BR ftw () -were introduced in XPG4v2. +were introduced in SUSv1. .LP On some systems .BR ftw () @@ -296,7 +296,7 @@ is available since glibc 2.1. \fBFTW_ACTIONRETVAL\fP is glibc specific. .SH "CONFORMING TO" -POSIX.1-2001, SVID3, XPG4v2. +POSIX.1-2001, SVr4, SUSv1. .SH EXAMPLE The following program traverses the directory tree under the path named in its first command-line argument, or under the current directory diff --git a/man3/fwide.3 b/man3/fwide.3 index eb07ac93d..f4f018dec 100644 --- a/man3/fwide.3 +++ b/man3/fwide.3 @@ -43,7 +43,7 @@ The \fBfwide\fP() function returns the stream's orientation, after possibly changing it. A return value > 0 means wide-character oriented. A return value < 0 means byte oriented. A return value of zero means undecided. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +ISO/ANSI C, UNIX98, POSIX.1-2001. .SH "SEE ALSO" .BR fprintf (3), .BR fwprintf (3) diff --git a/man3/gcvt.3 b/man3/gcvt.3 index ab7752de4..6c6dd4c2e 100644 --- a/man3/gcvt.3 +++ b/man3/gcvt.3 @@ -47,6 +47,8 @@ is recommended. .SH "RETURN VALUE" The \fBgcvt\fP() function returns the address of the string pointed to by \fIbuf\fP. +.SH "CONFORMING TO" +marked as LEGACY in POSIX.1-2001. .SH "SEE ALSO" .BR ecvt (3), .BR fcvt (3), diff --git a/man3/getaddrinfo.3 b/man3/getaddrinfo.3 index 38eef1e74..a3ebe8503 100644 --- a/man3/getaddrinfo.3 +++ b/man3/getaddrinfo.3 @@ -197,7 +197,7 @@ includes the flag. .\" In glibc prior to 2.3.4, the ai_canonname of each addrinfo .\" structure was set pointing to the canonical name; that was -.\" more than SUSv3 specified, or other implementations provided. +.\" more than POSIX.1-2001 specified, or other implementations provided. .\" MTK, Aug 05 .IR ai_family , .IR ai_socktype , @@ -352,7 +352,7 @@ The function translates these error codes to a human readable string, suitable for error reporting. .SH "CONFORMING TO" -POSIX 1003.1-2003. +POSIX.1-2001. The .BR getaddrinfo () function is documented in RFC\ 2553. diff --git a/man3/getcwd.3 b/man3/getcwd.3 index c1dddb3f0..fd1bb69bf 100644 --- a/man3/getcwd.3 +++ b/man3/getcwd.3 @@ -163,7 +163,7 @@ directory (".") and calling to return is usually a faster and more reliable alternative when sufficiently many file descriptors are available, especially on platforms other than Linux. .SH "CONFORMING TO" -POSIX.1 +POSIX.1-2001. .SH "SEE ALSO" .BR chdir (2), .BR fchdir (2), diff --git a/man3/getdate.3 b/man3/getdate.3 index 04d6ff2e4..bc190d2c9 100644 --- a/man3/getdate.3 +++ b/man3/getdate.3 @@ -140,7 +140,7 @@ and in case of an error the return value is non-zero with the same values as given above for .IR getdate_err . .LP -The POSIX 1003.1-2001 specification for +The POSIX.1-2001 specification for .BR strptime () contains conversion specifications using the .B %E @@ -165,7 +165,7 @@ File containing format patterns. .BR TZ ", " LC_TIME Variables used by \fBstrptime\fP(). .SH "CONFORMING TO" -ISO 9899, POSIX 1003.1-2001 +POSIX.1-2001 .SH "SEE ALSO" .BR localtime (3), .BR setlocale (3), diff --git a/man3/getenv.3 b/man3/getenv.3 index bbe7c6aba..3b4497292 100644 --- a/man3/getenv.3 +++ b/man3/getenv.3 @@ -44,7 +44,7 @@ the form \fIname = value\fP. The \fBgetenv\fP() function returns a pointer to the value in the environment, or NULL if there is no match. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899 +SVr4, POSIX.1-2001, 4.3BSD, C89 .SH "SEE ALSO" .BR clearenv (3), .BR putenv (3), diff --git a/man3/getfsent.3 b/man3/getfsent.3 index dcac67916..f9b89b2af 100644 --- a/man3/getfsent.3 +++ b/man3/getfsent.3 @@ -104,7 +104,8 @@ The .BR getfsent () function appeared in 4.0BSD; the other four functions appeared in 4.3BSD. .SH "CONFORMING TO" -These functions are not in POSIX. Several operating systems have them, +These functions are not in POSIX.1. +Several operating systems have them, e.g., *BSD, SunOS, Digital Unix, AIX (which also has a .BR getfstype ()). HP-UX has functions of the same names, that however use a struct checklist diff --git a/man3/getgrent.3 b/man3/getgrent.3 index e53b5f18f..ccf3d870b 100644 --- a/man3/getgrent.3 +++ b/man3/getgrent.3 @@ -104,7 +104,7 @@ Insufficient buffer space supplied. .I /etc/group local group database file .SH "CONFORMING TO" -SVID 3, 4.3BSD, POSIX 1003.1-2003. +SVr4, 4.3BSD, POSIX.1-2001. .SH "SEE ALSO" .BR fgetgrent (3), .BR getgrent_r (3), diff --git a/man3/getgrnam.3 b/man3/getgrnam.3 index bc3688455..3cc9e088b 100644 --- a/man3/getgrnam.3 +++ b/man3/getgrnam.3 @@ -158,9 +158,9 @@ Insufficient buffer space supplied. .I /etc/group local group database file .SH "CONFORMING TO" -SVID 3, 4.3BSD, POSIX 1003.1-2003 +SVr4, 4.3BSD, POSIX.1-2001 .SH NOTES -The formulation given above under "RETURN VALUE" is from POSIX 1003.1-2001. +The formulation given above under "RETURN VALUE" is from POSIX.1-2001. It does not call "not found" an error, hence does not specify what value .I errno might have in this situation. But that makes it impossible to recognize diff --git a/man3/getgrouplist.3 b/man3/getgrouplist.3 index 3ef91f686..06a214ccb 100644 --- a/man3/getgrouplist.3 +++ b/man3/getgrouplist.3 @@ -40,6 +40,8 @@ The glibc 2.3.2 implementation of this function is broken: it overwrites memory when the actual number of groups is larger than .RI * ngroups . .SH "CONFORMING TO" +This function is non-standard; it appears on most BSDs. +.SH "VERSIONS" This function is present since glibc 2.2.4. .SH EXAMPLE .nf diff --git a/man3/gethostbyname.3 b/man3/gethostbyname.3 index 8f8218878..0ce15f7ed 100644 --- a/man3/gethostbyname.3 +++ b/man3/gethostbyname.3 @@ -235,7 +235,7 @@ host database file .I /etc/nsswitch.conf name service switch configuration .SH "CONFORMING TO" -4.3BSD. +4.3BSD, POSIX.1-2001. .SH "SYSTEM V/POSIX EXTENSION" POSIX requires the .BR gethostent () @@ -299,7 +299,8 @@ to be of type .IR int , and .I size_t -is not. POSIX 1003.1-2001 makes it +is not. +POSIX.1-2001 makes it .IR socklen_t , which is OK.) .LP @@ -309,7 +310,7 @@ uses .I const char * for the first argument. .LP -POSIX 1003.1-2001 marks +POSIX.1-2001 marks .BR gethostbyaddr () and .BR gethostbyname () diff --git a/man3/getipnodebyname.3 b/man3/getipnodebyname.3 index c9e2d95ad..e2e760a8c 100644 --- a/man3/getipnodebyname.3 +++ b/man3/getipnodebyname.3 @@ -255,6 +255,7 @@ removed again. Several Unix-like systems support them, but all call them deprecated. .SH "CONFORMING TO" RFC\ 2553. +.\" Not in POSIX.1-2001. .SH "SEE ALSO" .BR getaddrinfo (3), .BR getnameinfo (3), diff --git a/man3/getlogin.3 b/man3/getlogin.3 index 0ac600c70..0c7d9ef80 100644 --- a/man3/getlogin.3 +++ b/man3/getlogin.3 @@ -107,9 +107,17 @@ Insufficient memory to allocate passwd structure. some libc versions used \fI/var/adm/utmp\fP) .fi .SH "CONFORMING TO" -POSIX.1. System V has a \fBcuserid\fP() function which uses the real -user ID rather than the effective user ID. The \fBcuserid\fP() function -was included in the 1988 version of POSIX, but removed from the 1990 version. +.BR getlogin () +and +.BR getlogin_r () +specified in POSIX.1-2001. + +System V has a \fBcuserid\fP() function which uses the real +user ID rather than the effective user ID. +The \fBcuserid\fP() function +was included in the 1988 version of POSIX, +but removed from the 1990 version. +It was present in SUSv2, but removed in POSIX.1-2001. .LP OpenBSD has \fBgetlogin\fP() and \fBsetlogin\fP(), and a username associated with a session, even if it has no controlling tty. @@ -124,11 +132,14 @@ Avoid .BR getlogin () for security-related purposes. .LP -Note that glibc does not follow the POSIX spec and uses stdin +Note that glibc does not follow the POSIX spec and uses +.I stdin instead of .IR /dev/tty . -A bug. (Other recent systems, like SunOS 5.8 and HPUX 11.11 and FreeBSD 4.8 -all return the login name also when stdin is redirected.) +A bug. (Other recent systems, like SunOS 5.8 and HP-UX 11.11 and FreeBSD 4.8 +all return the login name also when +.I stdin +is redirected.) .LP Nobody knows precisely what .BR cuserid () diff --git a/man3/getmntent.3 b/man3/getmntent.3 index 2fdb7b42a..a4c2edf41 100644 --- a/man3/getmntent.3 +++ b/man3/getmntent.3 @@ -134,8 +134,8 @@ a match is found and NULL otherwise. The non-reentrant functions are from SunOS 4.1.3. A routine .BR getmntent_r () -was introduced in HPUX 10, but it returns an int. The prototype -shown above is glibc-only. +was introduced in HP-UX 10, but it returns an int. +The prototype shown above is glibc-only. LSB deprecates the functions .BR endhostent (), .BR sethostent () diff --git a/man3/getnameinfo.3 b/man3/getnameinfo.3 index 71a0c478f..581f8b66e 100644 --- a/man3/getnameinfo.3 +++ b/man3/getnameinfo.3 @@ -185,7 +185,7 @@ reverse address mapping. .fi .RE .SH "CONFORMING TO" -RFC\ 2553. (See also XNS, issue 5.2.) +RFC\ 2553, POSIX.1-2001. .SH "SEE ALSO" .BR getaddrinfo (3), .BR gethostbyaddr (3), diff --git a/man3/getnetent.3 b/man3/getnetent.3 index aef58e96c..053d84d5b 100644 --- a/man3/getnetent.3 +++ b/man3/getnetent.3 @@ -102,7 +102,7 @@ error occurs or the end of the file is reached. .I /etc/networks networks database file .SH "CONFORMING TO" -4.3BSD +4.3BSD, POSIX.1-2001. .SH "SEE ALSO" .BR getprotoent (3), .BR getservent (3), diff --git a/man3/getopt.3 b/man3/getopt.3 index f4dc3a4f1..9f91dcd7f 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> . diff --git a/man3/getprotoent.3 b/man3/getprotoent.3 index e5422d680..f5d91abb4 100644 --- a/man3/getprotoent.3 +++ b/man3/getprotoent.3 @@ -99,7 +99,7 @@ error occurs or the end of the file is reached. protocol database file .PD .SH "CONFORMING TO" -4.3BSD +4.3BSD, POSIX.1-2001. .SH "SEE ALSO" .BR getnetent (3), .BR getservent (3), diff --git a/man3/getpwent.3 b/man3/getpwent.3 index 913236856..2d7bfc65a 100644 --- a/man3/getpwent.3 +++ b/man3/getpwent.3 @@ -110,7 +110,7 @@ Insufficient buffer space supplied. .I /etc/passwd local password database file .SH "CONFORMING TO" -SVID 3, 4.3BSD +SVr4, 4.3BSD, POSIX.1-2001. .SH "SEE ALSO" .BR fgetpwent (3), .BR getpw (3), diff --git a/man3/getpwnam.3 b/man3/getpwnam.3 index 8a04ad618..524cab34f 100644 --- a/man3/getpwnam.3 +++ b/man3/getpwnam.3 @@ -162,9 +162,9 @@ Insufficient buffer space supplied. local password database file .fi .SH "CONFORMING TO" -SVID 3, 4.3BSD, POSIX 1003.1-2003 +SVr4, 4.3BSD, POSIX.1-2001 .SH NOTES -The formulation given above under "RETURN VALUE" is from POSIX 1003.1-2001. +The formulation given above under "RETURN VALUE" is from POSIX.1-2001. It does not call "not found" an error, and hence does not specify what value .I errno might have in this situation. But that makes it impossible to recognize diff --git a/man3/gets.3 b/man3/gets.3 index 5e89e2a9e..d14cbd72e 100644 --- a/man3/gets.3 +++ b/man3/gets.3 @@ -134,7 +134,7 @@ on success, or .B EOF on error. .SH "CONFORMING TO" -ANSI-C, POSIX.1. +C89, C99. LSB deprecates .BR gets (). .SH BUGS diff --git a/man3/getservent.3 b/man3/getservent.3 index 12dbe9e9a..1b5c7a625 100644 --- a/man3/getservent.3 +++ b/man3/getservent.3 @@ -108,7 +108,7 @@ error occurs or the end of the file is reached. .I /etc/services services database file .SH "CONFORMING TO" -4.3BSD +4.3BSD, POSIX.1-2001. .SH "SEE ALSO" .BR getnetent (3), .BR getprotoent (3), diff --git a/man3/getutent.3 b/man3/getutent.3 index ca727f0ac..c046ebc66 100644 --- a/man3/getutent.3 +++ b/man3/getutent.3 @@ -160,16 +160,16 @@ int main(int argc, char *argv[]) .br /var/log/wtmp database of past user logins .SH "CONFORMING TO" -XPG 2, SVID 2, Linux FSSTND 1.2 +XPG2, SVr4. .LP -In XPG2 and SVID2 the function \fIpututline\fP() is documented +In XPG2 and SVID 2 the function \fIpututline\fP() is documented to return void, and that is what it does on many systems -(AIX, HPUX, Linux libc5). -HPUX introduces a new function \fI_pututline\fP() with the prototype +(AIX, HP-UX, Linux libc5). +HP-UX introduces a new function \fI_pututline\fP() with the prototype given above for \fIpututline\fP() (also found in Linux libc5). .LP All these functions are obsolete now on non-Linux systems. -POSIX 1003.1-2001, following XPG4.2, +POSIX.1-2001, following SUSv1, does not have any of these functions, but instead uses .sp .B #include <utmpx.h> diff --git a/man3/getw.3 b/man3/getw.3 index 8174ceb3e..d13dfd4c1 100644 --- a/man3/getw.3 +++ b/man3/getw.3 @@ -33,11 +33,11 @@ getw, putw \- input and output of words (ints) .br .SH DESCRIPTION \fBgetw\fP() reads a word (that is, an \fIint\fP) from \fIstream\fP. It's -provided for compatibility with SVID. We recommend you use +provided for compatibility with SVr4. We recommend you use \fBfread\fP(3) instead. .P \fBputw\fP() writes the word \fIw\fP (that is, an \fIint\fP) to \fIstream\fP. It -is provided for compatibility with SVID, but we recommend you use +is provided for compatibility with SVr4, but we recommend you use \fBfwrite\fP(3) instead. .SH "RETURN VALUE" Normally, \fBgetw\fP() returns the word read, and \fBputw\fP() returns 0. @@ -46,7 +46,7 @@ On error, they return \fBEOF\fP. The value returned on error is also a legitimate data value. \fBferror\fP(3) can be used to distinguish between the two cases. .SH "CONFORMING TO" -SVID +SVr4 .SH "SEE ALSO" .BR ferror (3), .BR fread (3), diff --git a/man3/getwchar.3 b/man3/getwchar.3 index 9eaa718ca..f9d80608a 100644 --- a/man3/getwchar.3 +++ b/man3/getwchar.3 @@ -34,7 +34,7 @@ For a non-locking counterpart, see The \fBgetwchar\fP() function returns the next wide-character from standard input, or WEOF. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99 .SH NOTES The behaviour of \fBgetwchar\fP() depends on the LC_CTYPE category of the current locale. diff --git a/man3/glob.3 b/man3/glob.3 index c32e46479..df5da3e1e 100644 --- a/man3/glob.3 +++ b/man3/glob.3 @@ -222,7 +222,7 @@ globbuf.gl_pathv[1] = "\-l"; execvp("ls", &globbuf.gl_pathv[0]); .fi .SH "CONFORMING TO" -POSIX.2 +POSIX.2, POSIX.1-2001. .SH BUGS The .BR glob () diff --git a/man3/grantpt.3 b/man3/grantpt.3 index ed8363264..55391b0da 100644 --- a/man3/grantpt.3 +++ b/man3/grantpt.3 @@ -46,7 +46,7 @@ The .I fd argument is valid but not associated with a master pty. .SH "CONFORMING TO" -POSIX 1003.1-2001 +POSIX.1-2001 .SH NOTES This is part of the Unix98 pty support, see .BR pts (4). diff --git a/man3/gsignal.3 b/man3/gsignal.3 index 1087112cb..88d58f44a 100644 --- a/man3/gsignal.3 +++ b/man3/gsignal.3 @@ -70,8 +70,7 @@ The range of possible values .I signum varies (often 1-15 or 1-17). .SH "CONFORMING TO" -SVID2, XPG2. -These functions are available under AIX, DG-UX, HPUX, SCO, Solaris, Tru64. +These functions are available under AIX, DG/UX, HP-UX, SCO, Solaris, Tru64. They are called obsolete under most of these systems, and are broken under Linux libc and glibc. Some systems also have diff --git a/man3/hsearch.3 b/man3/hsearch.3 index d631cbed4..9eb90fd51 100644 --- a/man3/hsearch.3 +++ b/man3/hsearch.3 @@ -127,14 +127,14 @@ The functions .BR hsearch (), and .BR hdestroy () -are from SVID, and are described in POSIX 1003.1-2001. +are from SVr4, and are described in POSIX.1-2001. The functions .BR hcreate_r (), .BR hsearch_r (), .BR hdestroy_r () are GNU extensions. .SH BUGS -SVID and POSIX 1003.1-2001 specify that \fIaction\fP +SVr4 and POSIX.1-2001 specify that \fIaction\fP is significant only for unsuccessful searches, so that an ENTER should not do anything for a successful search. The libc and glibc implementations update the \fIdata\fP for the given \fIkey\fP diff --git a/man3/hypot.3 b/man3/hypot.3 index 7afa7a681..8a82305d8 100644 --- a/man3/hypot.3 +++ b/man3/hypot.3 @@ -57,7 +57,7 @@ or the distance of the point .RI ( x , y ) from the origin. .SH "CONFORMING TO" -SVID 3, 4.3BSD, C99. +SVr4, 4.3BSD, C99. The float and the long double variants are C99 requirements. .SH "SEE ALSO" .BR cabs (3), diff --git a/man3/iconv_close.3 b/man3/iconv_close.3 index f2e9ce87c..6745b25ef 100644 --- a/man3/iconv_close.3 +++ b/man3/iconv_close.3 @@ -27,7 +27,7 @@ In case of error, it sets .I errno and returns \-1. .SH "CONFORMING TO" -UNIX98 +UNIX98, POSIX.1-2001. .SH "SEE ALSO" .BR iconv (3), .BR iconv_open (3) diff --git a/man3/iconv_open.3 b/man3/iconv_open.3 index 711669a04..17a76f5db 100644 --- a/man3/iconv_open.3 +++ b/man3/iconv_open.3 @@ -47,7 +47,7 @@ The following error can occur, among others: The conversion from \fIfromcode\fP to \fItocode\fP is not supported by the implementation. .SH "CONFORMING TO" -UNIX98 +UNIX98, POSIX.1-2001. .SH "SEE ALSO" .BR iconv (1), .BR iconv (3), diff --git a/man3/ilogb.3 b/man3/ilogb.3 index 3b25c3223..de346cada 100644 --- a/man3/ilogb.3 +++ b/man3/ilogb.3 @@ -89,7 +89,7 @@ If .I x is too small, INT_MIN is returned. .SH "CONFORMING TO" -ISO C99 +C99 .SH "SEE ALSO" .BR log (3), .BR logb (3) diff --git a/man3/index.3 b/man3/index.3 index 446befefe..8d000008f 100644 --- a/man3/index.3 +++ b/man3/index.3 @@ -50,7 +50,7 @@ strings. The \fBindex\fP() and \fBrindex\fP() functions return a pointer to the matched character or NULL if the character is not found. .SH "CONFORMING TO" -4.3BSD +4.3BSD; marked as LEGACY in POSIX.1-2001. .SH "SEE ALSO" .BR memchr (3), .BR strchr (3), diff --git a/man3/inet.3 b/man3/inet.3 index db39a2f9a..4855bc92f 100644 --- a/man3/inet.3 +++ b/man3/inet.3 @@ -122,7 +122,12 @@ In order to expose the declaration of one of the feature test macros _BSD_SOURCE, _SVID_SOURCE, or _GNU_SOURCE must be defined. .SH "CONFORMING TO" -4.3BSD +4.3BSD. +.BR inet_addr (), +.BR inet_aton (), +and +.BR inet_ntoa () +are specified in POSIX.1-2001. .SH "SEE ALSO" .BR gethostbyname (3), .BR getnetent (3), diff --git a/man3/inet_ntop.3 b/man3/inet_ntop.3 index c4dd86981..7e56f8d37 100644 --- a/man3/inet_ntop.3 +++ b/man3/inet_ntop.3 @@ -96,7 +96,7 @@ given by the .I cnt argument. .SH "CONFORMING TO" -POSIX 1003.1-2001. +POSIX.1-2001. Note that RFC\ 2553 defines a prototype where the last parameter .I cnt is of type diff --git a/man3/inet_pton.3 b/man3/inet_pton.3 index 2a292a65f..ec055e183 100644 --- a/man3/inet_pton.3 +++ b/man3/inet_pton.3 @@ -96,6 +96,8 @@ does not contain a character string representing a valid network address in the specified address family. A positive value is returned if the network address was successfully converted. +.SH "CONFORMING TO" +POSIX.1-2001. .SH "SEE ALSO" .BR inet_ntop (3) .SH BUGS diff --git a/man3/initgroups.3 b/man3/initgroups.3 index 2dc449203..e9de58467 100644 --- a/man3/initgroups.3 +++ b/man3/initgroups.3 @@ -64,7 +64,7 @@ The calling process has insufficient privilege. See the underlying system call \fI/etc/group\fP group database file .fi .SH "CONFORMING TO" -SVID 3, 4.3BSD +SVr4, 4.3BSD .SH NOTES The prototype for .BR initgroups () diff --git a/man3/insque.3 b/man3/insque.3 index 88192b459..1c58a0455 100644 --- a/man3/insque.3 +++ b/man3/insque.3 @@ -50,7 +50,7 @@ not be NULL. \fBremque\fP() removes the element pointed to by \fIelem\fP from the doubly-linked list. .SH "CONFORMING TO" -POSIX 1003.1-2001 +POSIX.1-2001 .SH "HISTORICAL NOTES" Traditionally (e.g. SunOS, Linux libc 4,5) the parameters of these functions were of type \fBstruct qelem *\fP, where the struct diff --git a/man3/isalpha.3 b/man3/isalpha.3 index 620c3b9fe..213128d62 100644 --- a/man3/isalpha.3 +++ b/man3/isalpha.3 @@ -87,8 +87,7 @@ case. checks whether \fIc\fP is a 7-bit .I unsigned char value that fits into -the ASCII character set. This function is a BSD extension -and is also an SVID extension. +the ASCII character set. .TP .BR isblank () checks for a blank character; that is, a space or a tab. @@ -141,10 +140,10 @@ The values returned are non-zero if the character falls into the tested class, and a zero value if not. .SH "CONFORMING TO" -ANSI-C, 4.3BSD. +C99, 4.3BSD. \fBisascii\fP() is a BSD extension -and is also an SVID extension. -\fBisblank\fP() conforms to POSIX.1-2001 and ISO C99 7.4.1.3. +and is also an SVr4 extension. +\fBisblank\fP() conforms to POSIX.1-2001 and C99 7.4.1.3. .SH NOTE The details of what characters belong into which class depend on the current locale. For example, diff --git a/man3/isatty.3 b/man3/isatty.3 index 1d6baaa5b..759272500 100644 --- a/man3/isatty.3 +++ b/man3/isatty.3 @@ -37,7 +37,7 @@ isatty \- does this descriptor refer to a terminal returns 1 if \fIdesc\fP is an open descriptor connected to a terminal and 0 else. .SH "CONFORMING TO" -SVID, AT&T, X/OPEN, 4.3BSD +SVr4, 4.3BSD, POSIX.1-2001. .SH "SEE ALSO" .BR fstat (2), .BR ttyname (3) diff --git a/man3/iswalnum.3 b/man3/iswalnum.3 index 8cf5001d3..d93a0116d 100644 --- a/man3/iswalnum.3 +++ b/man3/iswalnum.3 @@ -48,7 +48,7 @@ to 'Z', 'a' to 'z' and the digits '0' to '9'. The \fBiswalnum\fP() function returns non-zero if \fIwc\fP is a wide character belonging to the wide character class "alnum". Otherwise it returns zero. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR isalnum (3), .BR iswctype (3) diff --git a/man3/iswalpha.3 b/man3/iswalpha.3 index f94729275..4da154a1f 100644 --- a/man3/iswalpha.3 +++ b/man3/iswalpha.3 @@ -51,7 +51,7 @@ to 'Z' and 'a' to 'z'. The \fBiswalpha\fP() function returns non-zero if \fIwc\fP is a wide character belonging to the wide character class "alpha". Otherwise it returns zero. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR isalpha (3), .BR iswctype (3) diff --git a/man3/iswcntrl.3 b/man3/iswcntrl.3 index a69378dfe..0ec0d9a13 100644 --- a/man3/iswcntrl.3 +++ b/man3/iswcntrl.3 @@ -35,7 +35,7 @@ but not vice versa. The \fBiswcntrl\fP() function returns non-zero if \fIwc\fP is a wide character belonging to the wide character class "cntrl". Otherwise it returns zero. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR iscntrl (3), .BR iswctype (3) diff --git a/man3/iswctype.3 b/man3/iswctype.3 index ab4ec45a9..8356af6f1 100644 --- a/man3/iswctype.3 +++ b/man3/iswctype.3 @@ -32,7 +32,7 @@ function. The \fBiswctype\fP() function returns non-zero if the \fIwc\fP has the designated property. Otherwise it returns 0. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR iswalnum (3), .BR iswalpha (3), diff --git a/man3/iswdigit.3 b/man3/iswdigit.3 index 44e5d7b1a..2a00ae800 100644 --- a/man3/iswdigit.3 +++ b/man3/iswdigit.3 @@ -47,7 +47,7 @@ The wide character class "digit" always contains exactly the digits '0' to '9'. The \fBiswdigit\fP() function returns non-zero if \fIwc\fP is a wide character belonging to the wide character class "digit". Otherwise it returns zero. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR isdigit (3), .BR iswctype (3) diff --git a/man3/iswgraph.3 b/man3/iswgraph.3 index 1efdbbd0d..a7512f323 100644 --- a/man3/iswgraph.3 +++ b/man3/iswgraph.3 @@ -34,7 +34,7 @@ Being a subclass of the wide character class "print", the wide character class The wide character class "graph" is disjoint from the wide character class "space" and therefore also disjoint from its subclass "blank". .\" Note: UNIX98 (susv2/xbd/locale.html) says that "graph" and "space" may -.\" have characters in common, except U+0020. But ISO C99 (ISO/IEC 9899:1999 +.\" have characters in common, except U+0020. But C99 (ISO/IEC 9899:1999 .\" section 7.25.2.1.10) says that "space" and "graph" are disjoint. .PP The wide character class "graph" contains all the wide characters from the @@ -44,7 +44,7 @@ the wide character classes "alnum" and "punct". The \fBiswgraph\fP() function returns non-zero if \fIwc\fP is a wide character belonging to the wide character class "graph". Otherwise it returns zero. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR isgraph (3), .BR iswctype (3) diff --git a/man3/iswlower.3 b/man3/iswlower.3 index eefa780a3..8fc71f3f5 100644 --- a/man3/iswlower.3 +++ b/man3/iswlower.3 @@ -51,7 +51,7 @@ to 'z'. The \fBiswlower\fP() function returns non-zero if \fIwc\fP is a wide character belonging to the wide character class "lower". Otherwise it returns zero. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR islower (3), .BR iswctype (3), diff --git a/man3/iswprint.3 b/man3/iswprint.3 index 05794916c..b10659b53 100644 --- a/man3/iswprint.3 +++ b/man3/iswprint.3 @@ -33,7 +33,7 @@ The wide character class "print" contains the wide character class "graph". The \fBiswprint\fP() function returns non-zero if \fIwc\fP is a wide character belonging to the wide character class "print". Otherwise it returns zero. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR isprint (3), .BR iswctype (3) diff --git a/man3/iswpunct.3 b/man3/iswpunct.3 index 796873e04..64272212d 100644 --- a/man3/iswpunct.3 +++ b/man3/iswpunct.3 @@ -42,7 +42,7 @@ Being a subclass of the wide character class "graph", the wide character class The \fBiswpunct\fP() function returns non-zero if \fIwc\fP is a wide character belonging to the wide character class "punct". Otherwise it returns zero. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR ispunct (3), .BR iswctype (3) diff --git a/man3/iswspace.3 b/man3/iswspace.3 index c6d3d3c9a..668160106 100644 --- a/man3/iswspace.3 +++ b/man3/iswspace.3 @@ -29,7 +29,7 @@ The wide character class "space" is disjoint from the wide character class "graph" and therefore also disjoint from its subclasses "alnum", "alpha", "upper", "lower", "digit", "xdigit", "punct". .\" Note: UNIX98 (susv2/xbd/locale.html) says that "space" and "graph" may -.\" have characters in common, except U+0020. But ISO C99 (ISO/IEC 9899:1999 +.\" have characters in common, except U+0020. But C99 (ISO/IEC 9899:1999 .\" section 7.25.2.1.10) says that "space" and "graph" are disjoint. .PP The wide character class "space" contains the wide character class "blank". @@ -40,7 +40,7 @@ and the control characters '\\f', '\\n', '\\r', '\\t', '\\v'. The \fBiswspace\fP() function returns non-zero if \fIwc\fP is a wide character belonging to the wide character class "space". Otherwise it returns zero. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR isspace (3), .BR iswctype (3) diff --git a/man3/iswupper.3 b/man3/iswupper.3 index 8249e70e4..60b3bd79f 100644 --- a/man3/iswupper.3 +++ b/man3/iswupper.3 @@ -51,7 +51,7 @@ to 'Z'. The \fBiswupper\fP() function returns non-zero if \fIwc\fP is a wide character belonging to the wide character class "upper". Otherwise it returns zero. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR isupper (3), .BR iswctype (3), diff --git a/man3/iswxdigit.3 b/man3/iswxdigit.3 index edec171b8..eb3200288 100644 --- a/man3/iswxdigit.3 +++ b/man3/iswxdigit.3 @@ -45,7 +45,7 @@ to 'F', 'a' to 'f' and the digits '0' to '9'. The \fBiswxdigit\fP() function returns non-zero if \fIwc\fP is a wide character belonging to the wide character class "xdigit". Otherwise it returns zero. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR iswctype (3), .BR isxdigit (3) @@ -89,10 +89,16 @@ must be positive. For negative values of \fIx\fP, these functions return \-HUGE_VAL. .PP The \fBj0f\fP() etc. and \fBj0l\fP() etc. functions are versions that take -and return float and long double values, respectively. +and return +.I float +and +.I "long double" +values, respectively. .SH "CONFORMING TO" -The functions returning double conform to SVID 3, 4.3BSD, XPG4, -POSIX 1003.1-2001. +The functions returning +.I double +conform to SVr4, 4.3BSD, +POSIX.1-2001. .SH BUGS There are errors of up to 2e\-16 in the values returned by \fBj0\fP(), \fBj1\fP() and \fBjn\fP() for values of \fIx\fP between \-8 and 8. diff --git a/man3/ldexp.3 b/man3/ldexp.3 index 5760f2255..6c38d8de8 100644 --- a/man3/ldexp.3 +++ b/man3/ldexp.3 @@ -50,7 +50,7 @@ function returns the result of multiplying the floating-point number by 2 raised to the power .IR exp . .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, 4.3BSD, C89. The float and the long double variants are C99 requirements. .SH "SEE ALSO" .BR frexp (3), diff --git a/man3/lgamma.3 b/man3/lgamma.3 index 291c0efd6..77a452a57 100644 --- a/man3/lgamma.3 +++ b/man3/lgamma.3 @@ -59,6 +59,6 @@ is non-zero, an error has occurred. A range error occurs if x is too large. A pole error occurs if x is a negative integer or zero. .SH "CONFORMING TO" -C99, SVID 3, 4.3BSD +C99, SVr4, 4.3BSD .SH "SEE ALSO" .BR tgamma (3) diff --git a/man3/localeconv.3 b/man3/localeconv.3 index a1f9640ac..6434dd3f7 100644 --- a/man3/localeconv.3 +++ b/man3/localeconv.3 @@ -47,7 +47,7 @@ and .BR strfmon (3), which behave according to the actual locale in use. .SH "CONFORMING TO" -ANSI C, POSIX.1 +C99 .SH BUGS The .BR printf () diff --git a/man3/lockf.3 b/man3/lockf.3 index 69cafe5ec..8b9a45e7c 100644 --- a/man3/lockf.3 +++ b/man3/lockf.3 @@ -117,7 +117,7 @@ An invalid operation was specified in .B ENOLCK Too many segment locks open, lock table is full. .SH "CONFORMING TO" -System V, POSIX 1003.1-2001 +SVr4, POSIX.1-2001 .SH "SEE ALSO" .BR fcntl (2), .BR flock (2) diff --git a/man3/log.3 b/man3/log.3 index 2859303a5..d91d10dfb 100644 --- a/man3/log.3 +++ b/man3/log.3 @@ -56,7 +56,7 @@ The argument \fIx\fP is negative. The argument \fIx\fP is zero. The log of zero is not defined (minus infinity). .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, 4.3BSD, C89. The float and the long double variants are C99 requirements. .SH "SEE ALSO" .BR cbrt (3), diff --git a/man3/log10.3 b/man3/log10.3 index b558d6ee7..ff5a8be27 100644 --- a/man3/log10.3 +++ b/man3/log10.3 @@ -55,7 +55,7 @@ The argument \fIx\fP is negative. .B ERANGE The argument \fIx\fP is zero. The log of zero is not defined. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, 4.3BSD, C89. The float and the long double variants are C99 requirements. .SH "SEE ALSO" .BR cbrt (3), diff --git a/man3/log2.3 b/man3/log2.3 index fa3c144bf..cec7fe756 100644 --- a/man3/log2.3 +++ b/man3/log2.3 @@ -56,7 +56,7 @@ The argument \fIx\fP is negative. The argument \fIx\fP is zero. The log of zero is not defined (minus infinity). .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, 4.3BSD, C89. The float and the long double variants are C99 requirements. .SH "SEE ALSO" .BR cbrt (3), diff --git a/man3/logb.3 b/man3/logb.3 index 49be75115..939afe4a4 100644 --- a/man3/logb.3 +++ b/man3/logb.3 @@ -95,7 +95,7 @@ The function occurs in 4.3BSD. .\" see IEEE.3 in the 4.3BSD manual .SH "CONFORMING TO" -ISO C99 +C99 .SH "SEE ALSO" .BR log (3), .BR ilogb (3) diff --git a/man3/longjmp.3 b/man3/longjmp.3 index 6b006ea02..2f8cfb8a3 100644 --- a/man3/longjmp.3 +++ b/man3/longjmp.3 @@ -52,7 +52,7 @@ restores the set of blocked signals. .SH "RETURN VALUE" These functions never return. .SH "CONFORMING TO" -POSIX +POSIX.1-2001. .SH NOTES POSIX does not specify whether \fBlongjmp\fP() will restore the signal context. If you want to save and restore signal masks, use diff --git a/man3/lsearch.3 b/man3/lsearch.3 index 08a1b5fe2..848cc5a1a 100644 --- a/man3/lsearch.3 +++ b/man3/lsearch.3 @@ -59,7 +59,7 @@ NULL if no match is found. \fBlsearch\fP() returns a pointer to a matching member of the array, or to the newly added member if no match is found. .SH "CONFORMING TO" -SVID 1, SVID 3, 4.3BSD, POSIX 1003.1-2003. +SVr4, 4.3BSD, POSIX.1-2001. Present in libc since libc-4.6.27. .SH BUGS The naming is unfortunate. diff --git a/man3/makecontext.3 b/man3/makecontext.3 index 29f2a43a3..965d4489b 100644 --- a/man3/makecontext.3 +++ b/man3/makecontext.3 @@ -81,7 +81,7 @@ the stack. Thus, it is not necessary for the user program to worry about this direction. .SH "CONFORMING TO" -SUSv2, POSIX 1003.1-2001. +SUSv2, POSIX.1-2001. .SH EXAMPLE .PP The example program below demonstrates the use of diff --git a/man3/malloc.3 b/man3/malloc.3 index fb1df4a82..65a97b7ab 100644 --- a/man3/malloc.3 +++ b/man3/malloc.3 @@ -120,7 +120,7 @@ is returned. If .BR realloc () fails the original block is left untouched; it is not freed or moved. .SH "CONFORMING TO" -ANSI-C +C89, C99. .SH "SEE ALSO" .BR brk (2), .BR posix_memalign (3) diff --git a/man3/mblen.3 b/man3/mblen.3 index 11e84aee6..1c3a8a440 100644 --- a/man3/mblen.3 +++ b/man3/mblen.3 @@ -49,7 +49,7 @@ It returns 0, if a null wide character was recognized. It returns \-1, if an invalid multibyte sequence was encountered or if it couldn't parse a complete multibyte character. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99 .SH "SEE ALSO" .BR mbrlen (3) .SH NOTES diff --git a/man3/mbrlen.3 b/man3/mbrlen.3 index 48dc80cf9..f485e7362 100644 --- a/man3/mbrlen.3 +++ b/man3/mbrlen.3 @@ -48,7 +48,7 @@ and sets \fIerrno\fP to \fBEILSEQ\fP, if an invalid multibyte sequence was encountered. It returns (size_t)(\-2) if it couldn't parse a complete multibyte character, meaning that \fIn\fP should be increased. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99 .SH "SEE ALSO" .BR mbrtowc (3) .SH NOTES diff --git a/man3/mbrtowc.3 b/man3/mbrtowc.3 index 2f9260f67..9aa03d35e 100644 --- a/man3/mbrtowc.3 +++ b/man3/mbrtowc.3 @@ -71,7 +71,7 @@ and sets \fIerrno\fP to \fBEILSEQ\fP, if an invalid multibyte sequence was encountered. It returns (size_t)(\-2) if it couldn't parse a complete multibyte character, meaning that \fIn\fP should be increased. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99 .SH "SEE ALSO" .BR mbsrtowcs (3) .SH NOTES diff --git a/man3/mbsinit.3 b/man3/mbsinit.3 index 52ae07515..0262a164e 100644 --- a/man3/mbsinit.3 +++ b/man3/mbsinit.3 @@ -57,7 +57,7 @@ initial state. \fBmbsinit\fP() returns non-zero if \fI*ps\fP is an initial state, or if \fIps\fP is a null pointer. Otherwise it returns 0. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99 .SH "SEE ALSO" .BR mbsrtowcs (3), .BR wcsrtombs (3) diff --git a/man3/mbsrtowcs.3 b/man3/mbsrtowcs.3 index 9eb0835e3..302a61a9b 100644 --- a/man3/mbsrtowcs.3 +++ b/man3/mbsrtowcs.3 @@ -60,7 +60,7 @@ up the converted part of the wide character string, not including the terminating null wide character. If an invalid multibyte sequence was encountered, (size_t)(\-1) is returned, and \fIerrno\fP set to \fBEILSEQ\fP. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99 .SH "SEE ALSO" .BR iconv (3), .BR mbsnrtowcs (3), diff --git a/man3/mbstowcs.3 b/man3/mbstowcs.3 index 0f1884b67..fb7901c86 100644 --- a/man3/mbstowcs.3 +++ b/man3/mbstowcs.3 @@ -52,7 +52,7 @@ up the converted part of the wide character string, not including the terminating null wide character. If an invalid multibyte sequence was encountered, (size_t)(\-1) is returned. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99 .SH "SEE ALSO" .BR mbsrtowcs (3) .SH NOTES diff --git a/man3/mbtowc.3 b/man3/mbtowc.3 index 1a1212621..5fc1d4826 100644 --- a/man3/mbtowc.3 +++ b/man3/mbtowc.3 @@ -53,7 +53,7 @@ or \-1 upon failure. If \fIs\fP is NULL, the \fBmbtowc\fP() function returns non-zero if the encoding has non-trivial shift state, or zero if the encoding is stateless. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99 .SH "SEE ALSO" .BR MB_CUR_MAX (3), .BR mbrtowc (3), diff --git a/man3/memccpy.3 b/man3/memccpy.3 index a0a42006b..0219ef9c5 100644 --- a/man3/memccpy.3 +++ b/man3/memccpy.3 @@ -43,7 +43,7 @@ The \fBmemccpy\fP() function returns a pointer to the next character in \fIdest\fP after \fIc\fP, or NULL if \fIc\fP was not found in the first \fIn\fP characters of \fIsrc\fP. .SH "CONFORMING TO" -SVID 3, 4.3BSD +SVr4, 4.3BSD, C99 .SH "SEE ALSO" .BR bcopy (3), .BR memcpy (3), diff --git a/man3/memchr.3 b/man3/memchr.3 index 206258726..fed8eac7e 100644 --- a/man3/memchr.3 +++ b/man3/memchr.3 @@ -56,7 +56,7 @@ the given memory area. .SH "CONFORMING TO" The .BR memchr () -function conforms to SVID 3, 4.3BSD, ISO 9899, POSIX. +function conforms to SVr4, 4.3BSD, C99. The .BR memrchr () function is a GNU extension, available since glibc 2.1.91. diff --git a/man3/memcmp.3 b/man3/memcmp.3 index 7416fc2ea..2e47e89db 100644 --- a/man3/memcmp.3 +++ b/man3/memcmp.3 @@ -45,7 +45,7 @@ greater than zero if the first \fIn\fP bytes of \fIs1\fP is found, respectively, to be less than, to match, or be greater than the first \fIn\fP bytes of \fIs2\fP. .SH "CONFORMING TO" -SVID 3, 4.3BSD, ISO 9899 (C99) +SVr4, 4.3BSD, C99 .SH "SEE ALSO" .BR bcmp (3), .BR strcasecmp (3), diff --git a/man3/memcpy.3 b/man3/memcpy.3 index 35fa148f1..ed23e64d3 100644 --- a/man3/memcpy.3 +++ b/man3/memcpy.3 @@ -41,7 +41,7 @@ overlap. Use \fBmemmove\fP(3) if the memory areas do overlap. .SH "RETURN VALUE" The \fBmemcpy\fP() function returns a pointer to \fIdest\fP. .SH "CONFORMING TO" -SVID 3, 4.3BSD, ISO 9899 +SVr4, 4.3BSD, C99 .SH "SEE ALSO" .BR bcopy (3), .BR memccpy (3), diff --git a/man3/memfrob.3 b/man3/memfrob.3 index 8fd7586d3..fb4e7ec42 100644 --- a/man3/memfrob.3 +++ b/man3/memfrob.3 @@ -46,7 +46,7 @@ constant is fixed, and is only suitable for hiding strings. The \fBmemfrob\fP() function returns a pointer to the encrypted memory area. .SH "CONFORMING TO" -The \fBmemfrob\fP() function is unique to the Linux C Library and +The \fBmemfrob\fP() function is unique to the GNU C Library. .SH "SEE ALSO" .BR strfry (3) diff --git a/man3/memmove.3 b/man3/memmove.3 index e4c1540cd..8b8d4d4fa 100644 --- a/man3/memmove.3 +++ b/man3/memmove.3 @@ -40,7 +40,7 @@ The \fBmemmove\fP() function copies \fIn\fP bytes from memory area .SH "RETURN VALUE" The \fBmemmove\fP() function returns a pointer to \fIdest\fP. .SH "CONFORMING TO" -SVID 3, 4.3BSD, ISO 9899 +SVr4, 4.3BSD, C99. .SH "SEE ALSO" .BR bcopy (3), .BR memccpy (3), diff --git a/man3/memset.3 b/man3/memset.3 index 2fef123c0..8fd75aad4 100644 --- a/man3/memset.3 +++ b/man3/memset.3 @@ -41,7 +41,7 @@ memory area pointed to by \fIs\fP with the constant byte \fIc\fP. The \fBmemset\fP() function returns a pointer to the memory area \fIs\fP. .SH "CONFORMING TO" -SVID 3, 4.3BSD, ISO 9899 +SVr4, 4.3BSD, C99. .SH "SEE ALSO" .BR bzero (3), .BR swab (3), diff --git a/man3/mkdtemp.3 b/man3/mkdtemp.3 index 8282b2755..e9b4e0e07 100644 --- a/man3/mkdtemp.3 +++ b/man3/mkdtemp.3 @@ -54,8 +54,10 @@ Now \fItemplate\fP is unchanged. Also see \fBmkdir(2)\fP for other possible values for \fIerrno\fP. .SH "CONFORMING TO" -Introduced in OpenBSD 2.2. +This funtion is present on the BSDs. +.\" As at 2006, this function is being considered for a revision of POSIX.1 .\" Also in NetBSD 1.4. +.SH VERSION Available since glibc 2.1.91. .SH "SEE ALSO" .BR mkdir (2), diff --git a/man3/mkfifo.3 b/man3/mkfifo.3 index 68c8c3b9d..033d6a34e 100644 --- a/man3/mkfifo.3 +++ b/man3/mkfifo.3 @@ -87,7 +87,7 @@ directory. .B EROFS \fIpathname\fP refers to a read-only filesystem. .SH "CONFORMING TO" -POSIX.1 +POSIX.1-2001. .SH "SEE ALSO" .BR mkfifo (1), .BR close (2), diff --git a/man3/mkstemp.3 b/man3/mkstemp.3 index c9d002d77..47f421277 100644 --- a/man3/mkstemp.3 +++ b/man3/mkstemp.3 @@ -77,7 +77,7 @@ about file modes, so the application should make sure its umask is set appropriately before calling .BR mkstemp (). .SH "CONFORMING TO" -4.3BSD, POSIX 1003.1-2001 +4.3BSD, POSIX.1-2001 .SH NOTE The prototype is in .I <unistd.h> diff --git a/man3/modf.3 b/man3/modf.3 index 6c1255728..adba77f0b 100644 --- a/man3/modf.3 +++ b/man3/modf.3 @@ -51,7 +51,7 @@ The integral part is stored in \fIiptr\fP. .SH "RETURN VALUE" The \fBmodf\fP() function returns the fractional part of \fIx\fP. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, 4.3BSD, C89. The float and the long double variants are C99 requirements. .SH "SEE ALSO" .BR frexp (3), diff --git a/man3/nl_langinfo.3 b/man3/nl_langinfo.3 index c637f8b97..48270944f 100644 --- a/man3/nl_langinfo.3 +++ b/man3/nl_langinfo.3 @@ -114,7 +114,7 @@ If \fIitem\fP is not valid, a pointer to an empty string is returned. This pointer may point to static data that may be overwritten on the next call to \fBnl_langinfo\fP() or \fBsetlocale\fP(). .SH "CONFORMING TO" -The Single UNIX\*R Specification, Version 2 +SUSv2, POSIX.1-2001. .SH "SEE ALSO" .BR locale (1), .BR localeconv (3), diff --git a/man3/on_exit.3 b/man3/on_exit.3 index bbec74a2d..5a1dbcc1d 100644 --- a/man3/on_exit.3 +++ b/man3/on_exit.3 @@ -48,7 +48,8 @@ The \fBon_exit\fP() function returns the value 0 if successful; otherwise it returns a non-zero value. .SH "CONFORMING TO" This function comes from SunOS 4, but is also present in -libc4, libc5 and glibc. It no longer occurs in Solaris (SunOS 5). +libc4, libc5 and glibc. +It no longer occurs in Solaris (SunOS 5). Avoid this function, and use the standard .BR atexit (3) instead. diff --git a/man3/opendir.3 b/man3/opendir.3 index 5992b596a..21b9b453b 100644 --- a/man3/opendir.3 +++ b/man3/opendir.3 @@ -69,7 +69,7 @@ Insufficient memory to complete the operation. The underlying file descriptor of the directory stream can be obtained using .BR dirfd (3). .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD +SVr4, 4.3BSD, POSIX.1-2001. .SH "SEE ALSO" .BR open (2), .BR closedir (3), diff --git a/man3/perror.3 b/man3/perror.3 index 972a7b467..f38ea93b5 100644 --- a/man3/perror.3 +++ b/man3/perror.3 @@ -101,7 +101,7 @@ and the external .I errno (see .BR errno (3)) -conform to ANSI C, 4.3BSD, POSIX, X/OPEN. +conform to C89, 4.3BSD, POSIX.1-2001. The externals .I sys_nerr and diff --git a/man3/popen.3 b/man3/popen.3 index 031121d7c..5c42920f5 100644 --- a/man3/popen.3 +++ b/man3/popen.3 @@ -134,7 +134,7 @@ cannot obtain the child status, is set to .BR ECHILD . .SH "CONFORMING TO" -POSIX.2 +POSIX.1-2001. .SH BUGS Since the standard input of a command opened for reading shares its seek offset with the process that called diff --git a/man3/posix_memalign.3 b/man3/posix_memalign.3 index 263c19880..d733645d6 100644 --- a/man3/posix_memalign.3 +++ b/man3/posix_memalign.3 @@ -155,14 +155,16 @@ is available since glibc 2.1.91. .SH "CONFORMING TO" The function .BR valloc () -appeared in 3.0BSD. It is documented as being obsolete in 4.3BSD, -and as legacy in SUSv2. It no longer occurs in SUSv3. +appeared in 3.0BSD. +It is documented as being obsolete in 4.3BSD, +and as legacy in SUSv2. +It does not appear in POSIX.1-2001. The function .BR memalign () appears in SunOS 4.1.3 but not in 4.4BSD. The function .BR posix_memalign () -comes from POSIX 1003.1d. +comes from POSIX.1d. .SH HEADERS Everybody agrees that diff --git a/man3/posix_openpt.3 b/man3/posix_openpt.3 index f7bdab421..63981c24e 100644 --- a/man3/posix_openpt.3 +++ b/man3/posix_openpt.3 @@ -66,7 +66,7 @@ See .BR posix_openpt () is part of the Unix98 pseudo-terminal support (see .BR pts (4)). -This function is specified in POSIX 1003.1-2001. +This function is specified in POSIX.1-2001. .SH NOTES This function is a recent invention in POSIX. Some Unix implementations that support System V diff --git a/man3/pow.3 b/man3/pow.3 index ee7eb7512..b8c83ee8a 100644 --- a/man3/pow.3 +++ b/man3/pow.3 @@ -53,7 +53,7 @@ The \fBpow\fP() function can return the following error: The argument \fIx\fP is negative and \fIy\fP is not an integral value. This would result in a complex number. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, 4.3BSD, C89. The float and the long double variants are C99 requirements. .SH "SEE ALSO" .BR cbrt (3), diff --git a/man3/printf.3 b/man3/printf.3 index 2d591f7b2..518ed72bf 100644 --- a/man3/printf.3 +++ b/man3/printf.3 @@ -812,17 +812,16 @@ The .BR vfprintf (), and .BR vsprintf () -functions conform to ANSI X3.159-1989 (``ANSI C'') and ISO/IEC 9899:1999 -(``ISO C99''). +functions conform to C89 and C99. The .BR snprintf () and .BR vsnprintf () -functions conform to ISO/IEC 9899:1999. +functions conform to C99. .PP Concerning the return value of .BR snprintf (), -the SUSv2 and the C99 standard contradict each other: when +SUSv2 and C99 contradict each other: when .BR snprintf () is called with .IR size =0 diff --git a/man3/ptsname.3 b/man3/ptsname.3 index 830559251..9bb5043b0 100644 --- a/man3/ptsname.3 +++ b/man3/ptsname.3 @@ -76,7 +76,7 @@ is too small. .BR ptsname () is part of the Unix98 pseudo-terminal support (see .BR pts (4)). -This function is specified in POSIX 1003.1-2001. +This function is specified in POSIX.1-2001. .BR ptsname_r () is a Linux extension. diff --git a/man3/putenv.3 b/man3/putenv.3 index 4a5ffa69a..041f1478c 100644 --- a/man3/putenv.3 +++ b/man3/putenv.3 @@ -85,7 +85,7 @@ The 4.4BSD version, like glibc 2.0, uses a copy. .LP SUSv2 removes the `const' from the prototype, and so does glibc 2.1.3. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD +SVr4, POSIX.1-2001, 4.3BSD .SH "SEE ALSO" .BR clearenv (3), .BR getenv (3), diff --git a/man3/putpwent.3 b/man3/putpwent.3 index 45021ce2b..c62bed068 100644 --- a/man3/putpwent.3 +++ b/man3/putpwent.3 @@ -65,7 +65,7 @@ occurs. .B EINVAL Invalid (NULL) argument given. .SH "CONFORMING TO" -SVID 3 +SVr4 .SH "SEE ALSO" .BR endpwent (3), .BR fgetpwent (3), diff --git a/man3/puts.3 b/man3/puts.3 index dbbe730ab..403194940 100644 --- a/man3/puts.3 +++ b/man3/puts.3 @@ -100,7 +100,7 @@ return a non-negative number on success, or on error. .PP .SH "CONFORMING TO" -ANSI-C, POSIX.1 +C89, C99 .SH BUGS It is not advisable to mix calls to output functions from the .B stdio diff --git a/man3/putwchar.3 b/man3/putwchar.3 index 75ed96759..b6eb55673 100644 --- a/man3/putwchar.3 +++ b/man3/putwchar.3 @@ -34,7 +34,7 @@ For a non-locking counterpart, see The \fBputwchar\fP() function returns \fIwc\fP if no error occurred, or WEOF to indicate an error. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH NOTES The behaviour of \fBputwchar\fP() depends on the LC_CTYPE category of the current locale. diff --git a/man3/qecvt.3 b/man3/qecvt.3 index aa8f696fe..a6c555c38 100644 --- a/man3/qecvt.3 +++ b/man3/qecvt.3 @@ -60,7 +60,8 @@ These functions are obsolete. Instead, .BR sprintf () is recommended. .SH "CONFORMING TO" -System V r4.0. Not seen in most common Unix implementations, +SVr4. +Not seen in most common Unix implementations, but occurs in SunOS. Not supported by libc4 and libc5. Supported by glibc. .SH "SEE ALSO" diff --git a/man3/qsort.3 b/man3/qsort.3 index 0886adba6..02f20ec06 100644 --- a/man3/qsort.3 +++ b/man3/qsort.3 @@ -57,7 +57,7 @@ as equal, their order in the sorted array is undefined. .SH "RETURN VALUE" The \fBqsort\fP() function returns no value. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899 +SVr4, 4.3BSD, C99. .SH NOTE Library routines suitable for use as the .I compar diff --git a/man3/raise.3 b/man3/raise.3 index 8cd591d3e..68c524532 100644 --- a/man3/raise.3 +++ b/man3/raise.3 @@ -44,7 +44,7 @@ It is equivalent to .SH "RETURN VALUE" 0 on success, non-zero for failure. .SH "CONFORMING TO" -ANSI\-C +C89, C99. .SH "SEE ALSO" .BR getpid (2), .BR kill (2), diff --git a/man3/rand.3 b/man3/rand.3 index 9fdf463a5..05edf1ea2 100644 --- a/man3/rand.3 +++ b/man3/rand.3 @@ -78,7 +78,7 @@ The \fBrand\fP() and \fBrand_r\fP() functions return a value between 0 and RAND_MAX. The \fBsrand\fP() function returns no value. .SH EXAMPLE -POSIX 1003.1-2003 gives the following example of an implementation of +POSIX.1-2001 gives the following example of an implementation of .BR rand () and .BR srand (), @@ -146,10 +146,10 @@ The functions .BR rand () and .BR srand () -conform to SVID 3, 4.3BSD, ISO 9899, POSIX 1003.1-2003. +conform to SVr4, 4.3BSD, C89, C89, POSIX.1-2001. The function .BR rand_r () -is from POSIX 1003.1-2003. +is from POSIX.1-2001. .SH "SEE ALSO" .BR drand48 (3), .BR random (3) diff --git a/man3/random.3 b/man3/random.3 index c58e91413..b5fcb56fb 100644 --- a/man3/random.3 +++ b/man3/random.3 @@ -85,7 +85,7 @@ Current "optimal" values for the size of the state array \fIn\fP are the nearest known amount. Using less than 8 bytes will cause an error. .SH "CONFORMING TO" -4.3BSD +4.3BSD, POSIX.1-2001. .SH "SEE ALSO" .BR rand (3), .BR srand (3) diff --git a/man3/readdir.3 b/man3/readdir.3 index 23e4e533f..af62063d1 100644 --- a/man3/readdir.3 +++ b/man3/readdir.3 @@ -68,7 +68,7 @@ structure contains a field of unspecified size, with at most .B NAME_MAX characters preceding the terminating null byte. -POSIX 1003.1-2001 also documents the field +POSIX.1-2001 also documents the field .I "ino_t d_ino" as an XSI extension. .IR "Use of other fields will harm the portability of your programs" . @@ -88,7 +88,7 @@ is set appropriately. .B EBADF Invalid directory stream descriptor \fIdir\fP. .SH "CONFORMING TO" -SVID 3, 4.3BSD, POSIX 1003.1-2001 +SVr4, 4.3BSD, POSIX.1-2001 .SH "SEE ALSO" .BR read (2), .BR closedir (3), diff --git a/man3/realpath.3 b/man3/realpath.3 index 2ec78aff8..05c10d8df 100644 --- a/man3/realpath.3 +++ b/man3/realpath.3 @@ -141,11 +141,15 @@ The function first appeared in 4.4BSD, contributed by Jan-Simon Pendry. In Linux this function appears in libc 4.5.21. .SH "CONFORMING TO" +4.4BSD, POSIX.1-2001. + In 4.4BSD and Solaris the limit on the pathname length is MAXPATHLEN -(found in <sys/param.h>). The SUSv2 prescribes PATH_MAX and +(found in <sys/param.h>). +SUSv2 prescribes PATH_MAX and NAME_MAX, as found in <limits.h> or provided by the .BR pathconf () -function. A typical source fragment would be +function. +A typical source fragment would be .LP .RS .nf diff --git a/man3/regex.3 b/man3/regex.3 index 6cecf1bde..a412bf5c3 100644 --- a/man3/regex.3 +++ b/man3/regex.3 @@ -293,7 +293,7 @@ The regex routines ran out of memory. .B REG_ESUBREG Invalid back reference to a subexpression. .SH "CONFORMING TO" -POSIX.2 +POSIX.1-2001. .SH "SEE ALSO" .BR regex (7), GNU regex manual diff --git a/man3/remove.3 b/man3/remove.3 index 72dcf26a8..91c967d54 100644 --- a/man3/remove.3 +++ b/man3/remove.3 @@ -67,7 +67,7 @@ The errors that occur are those for and .BR rmdir (2). .SH "CONFORMING TO" -ANSI C, SVID, AT&T, POSIX, X/OPEN, 4.3BSD +C89, 4.3BSD, POSIX.1-2001. .SH BUGS Infelicities in the protocol underlying NFS can cause the unexpected disappearance of files which are still being used. diff --git a/man3/rewinddir.3 b/man3/rewinddir.3 index 8c785fb14..3a3927ddf 100644 --- a/man3/rewinddir.3 +++ b/man3/rewinddir.3 @@ -43,7 +43,7 @@ stream \fIdir\fP to the beginning of the directory. .SH "RETURN VALUE" The \fBrewinddir\fP() function returns no value. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD +SVr4, 4.3BSD, POSIX.1-2001. .SH "SEE ALSO" .BR closedir (3), .BR opendir (3), diff --git a/man3/rint.3 b/man3/rint.3 index 1e578b598..fadd51b74 100644 --- a/man3/rint.3 +++ b/man3/rint.3 @@ -63,7 +63,7 @@ If \fIx\fP is NaN, then NaN is returned and .I errno may be set to EDOM. .SH NOTES -SUSv2 and POSIX 1003.1-2001 contain text about overflow (which might set +SUSv2 and POSIX.1-2001 contain text about overflow (which might set .I errno to ERANGE, or raise an exception). In practice, the result cannot overflow on any current machine, @@ -74,10 +74,7 @@ For the IEEE-754 standard 32-bit and 64-bit floating point numbers the maximum value of the exponent is 128 (resp. 1024), and the number of mantissa bits is 24 (resp. 53).) .SH "CONFORMING TO" -The -.BR rint () -function conforms to 4.3BSD. -The other functions are from C99. +C99. .SH "SEE ALSO" .BR ceil (3), .BR floor (3), diff --git a/man3/round.3 b/man3/round.3 index a9658f780..a66dfc991 100644 --- a/man3/round.3 +++ b/man3/round.3 @@ -49,7 +49,7 @@ If \fIx\fP is NaN, then NaN is returned and .I errno may be set to EDOM. .SH NOTES -POSIX 1003.1-2001 contains text about overflow (which might set +POSIX.1-2001 contains text about overflow (which might set .I errno to ERANGE, or raise an exception). In practice, the result cannot overflow on any current machine, diff --git a/man3/scalb.3 b/man3/scalb.3 index e1642001a..4b9e8d4b4 100644 --- a/man3/scalb.3 +++ b/man3/scalb.3 @@ -69,7 +69,8 @@ The and .BR scalbln () functions are from C99. -All three are in POSIX 1003.1-2003. The +All three are in POSIX.1-2001. +The .BR scalb () function is marked obsolescent. .SH "SEE ALSO" diff --git a/man3/scanf.3 b/man3/scanf.3 index d6b4db045..7c98c4cc8 100644 --- a/man3/scanf.3 +++ b/man3/scanf.3 @@ -245,7 +245,7 @@ specifications then these correspond in order with successive arguments. In the "\fB%\fP\fIn\fP\fB$\fP" -form (which is specified in SUSv3, but not C99), +form (which is specified in POSIX.1-2001, but not C99), .I n is a decimal integer that specifies that the converted input should be placed in the location referred to by the @@ -530,7 +530,7 @@ The functions .BR scanf (), and .BR sscanf () -conform to ANSI X3.159-1989 (``ANSI C''). +conform to C89 and C99. .PP The .B q @@ -552,7 +552,7 @@ documentation of .I libc (glibc-1.08) for a more concise description. .SH BUGS -All functions are fully ANSI X3.159-1989 conformant, but provide the +All functions are fully C89 conformant, but provide the additional specifiers .B q and @@ -562,7 +562,7 @@ as well as an additional behaviour of the and .B l specifiers. The latter may be considered to be a bug, as it changes the -behaviour of specifiers defined in ANSI X3.159-1989. +behaviour of specifiers defined in C89. .PP Some combinations of the type modifiers and conversion specifiers defined by ANSI C do not make sense diff --git a/man3/seekdir.3 b/man3/seekdir.3 index 1bc0e9868..33d1997ea 100644 --- a/man3/seekdir.3 +++ b/man3/seekdir.3 @@ -42,7 +42,7 @@ should be used with an offset returned by \fBtelldir\fP(). .SH "RETURN VALUE" The \fBseekdir\fP() function returns no value. .SH "CONFORMING TO" -4.3BSD +4.3BSD, POSIX.1-2001. .SH "SEE ALSO" .BR lseek (2), .BR closedir (3), diff --git a/man3/setbuf.3 b/man3/setbuf.3 index 74ffb4521..741e96de2 100644 --- a/man3/setbuf.3 +++ b/man3/setbuf.3 @@ -149,7 +149,7 @@ The .BR setbuf () and .BR setvbuf () -functions conform to ANSI X3.159-1989 (``ANSI C''). +functions conform to C89 and C99. .SH BUGS The .BR setbuffer () diff --git a/man3/setenv.3 b/man3/setenv.3 index d95b696a2..79dc85541 100644 --- a/man3/setenv.3 +++ b/man3/setenv.3 @@ -65,13 +65,13 @@ set to indicate the cause of the error. .I name contained an '=' character. .SH "CONFORMING TO" -4.3BSD +4.3BSD, POSIX.1-2001. .SH "NOTES" Prior to glibc 2.2.2, \fBunsetenv\fP() was prototyped as returning \fIvoid\fP; more recent glibc versions follow the -SUSv3-compliant prototype shown in the SYNOPSIS. +POSIX.1-2001-compliant prototype shown in the SYNOPSIS. .SH BUGS -SUSv3 specifies that if +POSIX.1-2001 specifies that if .I name contains an '=' character, then .BR setenv () diff --git a/man3/setjmp.3 b/man3/setjmp.3 index b26a811f8..b630df3b0 100644 --- a/man3/setjmp.3 +++ b/man3/setjmp.3 @@ -49,7 +49,7 @@ if a \fBsiglongjmp\fP() is later performed with this \fIenv\fP. \fBsetjmp\fP() and \fBsigsetjmp\fP() return 0 if returning directly, and non-zero when returning from \fBlongjmp\fP() using the saved context. .SH "CONFORMING TO" -POSIX, ISO 9899 (C99) +POSIX.1-2001, C99 .SH NOTES POSIX does not specify whether \fBsetjmp\fP() will save the signal context. (In System V it will not. In 4.3BSD it will, and there diff --git a/man3/setlocale.3 b/man3/setlocale.3 index eb1a7a723..550f44606 100644 --- a/man3/setlocale.3 +++ b/man3/setlocale.3 @@ -162,7 +162,7 @@ and its associated category will restore that part of the process's locale. The return value is NULL if the request cannot be honored. .SH "CONFORMING TO" -ANSI C, POSIX.1 +C99, POSIX.1-2001. .SH NOTES Linux (that is, GNU libc) supports the portable locales .BR """C""" " and " """POSIX""" . diff --git a/man3/setlogmask.3 b/man3/setlogmask.3 index cb6364dd3..53bfe0816 100644 --- a/man3/setlogmask.3 +++ b/man3/setlogmask.3 @@ -56,8 +56,8 @@ None. .\" .SH NOTES .\" The glibc logmask handling was broken in versions before glibc 2.1.1. .SH "CONFORMING TO" -XPG4. -Note that the description in POSIX 1003.1-2001 is flawed. +POSIX.1-2001. +Note that the description in POSIX.1-2001 is flawed. .SH "SEE ALSO" .BR closelog (3), .BR openlog (3), diff --git a/man3/siginterrupt.3 b/man3/siginterrupt.3 index 8c46d9557..2c82eadf2 100644 --- a/man3/siginterrupt.3 +++ b/man3/siginterrupt.3 @@ -58,6 +58,6 @@ signal number \fIsig\fP is invalid. .B EINVAL The specified signal number is invalid. .SH "CONFORMING TO" -4.3BSD +4.3BSD, POSIX.1-2001. .SH "SEE ALSO" .BR signal (2) diff --git a/man3/signbit.3 b/man3/signbit.3 index f36e10047..a9c13f889 100644 --- a/man3/signbit.3 +++ b/man3/signbit.3 @@ -19,7 +19,7 @@ This is not the same as `x < 0.0', because IEEE 754 floating point allows zero to be signed. The comparison `\-0.0 < 0.0' is false, but `signbit (\-0.0)' will return a non-zero value. .SH "CONFORMING TO" -This function is defined in IEC 559 (and the appendix with +C99. This function is defined in IEC 559 (and the appendix with recommended functions in IEEE 754/IEEE 854). .SH "SEE ALSO" .BR copysign (3) diff --git a/man3/sigpause.3 b/man3/sigpause.3 index 0c3aec4e4..fa6be38f5 100644 --- a/man3/sigpause.3 +++ b/man3/sigpause.3 @@ -58,7 +58,7 @@ Unix95 standardized the incompatible System V version of this function, which removes only the specified signal .I sig from the process' signal mask. -.\" __xpg_sigpause: Unix 95, spec 1170, SVID, SVR4, XPG +.\" __xpg_sigpause: Unix 95, spec 1170, SVID, SVr4, XPG The unfortunate situation with two incompatible functions with the same name was solved by the .BR \%sigsuspend (2) diff --git a/man3/sigset.3 b/man3/sigset.3 index c45dc3def..5b3f44506 100644 --- a/man3/sigset.3 +++ b/man3/sigset.3 @@ -236,14 +236,14 @@ Instead, the previous disposition of the signal is returned. .\"FIXME This has been reported on 30 Nov 05 -- mtk .\" See http://sourceware.org/bugzilla/show_bug.cgi?id=1951 .\" -.\" The SUSv3 disposition of sigset() says: +.\" The POSIX.1-2001 disposition of sigset() says: .\" Upon successful completion, sigset() shall return .\" SIG_HOLD if the signal had been blocked and the signal's .\" previous disposition if it had not been blocked. .\" Otherwise, SIG_ERR shall be returned and errno set to .\" indicate the error. .SH "CONFORMING TO" -SVr4. +SVr4, POSIX.1-2001. These functions are obsolete: do not use them in new programs. .SH "SEE ALSO" .BR kill (2), diff --git a/man3/sigsetops.3 b/man3/sigsetops.3 index 76ba83491..120a3e8e2 100644 --- a/man3/sigsetops.3 +++ b/man3/sigsetops.3 @@ -93,7 +93,7 @@ is not a member, and \-1 on error. .I sig is not a valid signal. .SH "CONFORMING TO" -POSIX +POSIX.1-2001. .SH "GLIBC NOTES" If the _GNU_SOURCE feature test macro is defined, then <signal.h> exposes three other functions for manipulating signal diff --git a/man3/sin.3 b/man3/sin.3 index 05b364469..99d2fc825 100644 --- a/man3/sin.3 +++ b/man3/sin.3 @@ -48,7 +48,7 @@ given in radians. .SH "RETURN VALUE" The \fBsin\fP() function returns a value between \-1 and 1. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, 4.3BSD, C89. The float and the long double variants are C99 requirements. .SH "SEE ALSO" .BR acos (3), diff --git a/man3/sinh.3 b/man3/sinh.3 index cc601e345..66eec5cf0 100644 --- a/man3/sinh.3 +++ b/man3/sinh.3 @@ -48,7 +48,7 @@ Link with \-lm. The \fBsinh\fP() function returns the hyperbolic sine of \fIx\fP, which is defined mathematically as (exp(x) \- exp(\-x)) / 2. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899 (C99). +SVr4, 4.3BSD, C89. The float and the long double variants are C99 requirements. .SH "SEE ALSO" .BR acosh (3), diff --git a/man3/sleep.3 b/man3/sleep.3 index 0a6a538e8..78d8cb465 100644 --- a/man3/sleep.3 +++ b/man3/sleep.3 @@ -38,7 +38,7 @@ seconds have elapsed or a signal arrives which is not ignored. .SH "RETURN VALUE" Zero if the requested time has elapsed, or the number of seconds left to sleep. .SH "CONFORMING TO" -POSIX.1 +POSIX.1-2001. .SH BUGS .BR sleep () may be implemented using diff --git a/man3/sqrt.3 b/man3/sqrt.3 index fa172f85d..37d419520 100644 --- a/man3/sqrt.3 +++ b/man3/sqrt.3 @@ -50,7 +50,7 @@ It fails and sets \fIerrno\fP to EDOM, if \fIx\fP is negative. .B EDOM \fIx\fP is negative. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, 4.3BSD, C89. The float and the long double variants are C99 requirements. .SH "SEE ALSO" .BR cbrt (3), diff --git a/man3/stdarg.3 b/man3/stdarg.3 index 90e378014..9560b272e 100644 --- a/man3/stdarg.3 +++ b/man3/stdarg.3 @@ -238,7 +238,7 @@ The .BR va_arg (), and .BR va_end () -macros conform to ANSI X3.159-1989 (``C89''). +macros conform to C89. C99 defines the .BR va_copy () macro. diff --git a/man3/stdio.3 b/man3/stdio.3 index 0208de085..c94f5a4a6 100644 --- a/man3/stdio.3 +++ b/man3/stdio.3 @@ -345,7 +345,7 @@ input format conversion .SH "CONFORMING TO" The .B stdio -library conforms to ANSI X3.159-1989 (``ANSI C''). +library conforms to C89. .SH "SEE ALSO" .BR close (2), .BR open (2), diff --git a/man3/strcasecmp.3 b/man3/strcasecmp.3 index a4e460595..b71d4d1da 100644 --- a/man3/strcasecmp.3 +++ b/man3/strcasecmp.3 @@ -50,7 +50,7 @@ an integer less than, equal to, or greater than zero if \fIs1\fP (or the first \fIn\fP bytes thereof) is found, respectively, to be less than, to match, or be greater than \fIs2\fP. .SH "CONFORMING TO" -4.4BSD, SUSv3 +4.4BSD, POSIX.1-2001 .SH "SEE ALSO" .BR bcmp (3), .BR memcmp (3), diff --git a/man3/strcat.3 b/man3/strcat.3 index a3662fe03..fea81512a 100644 --- a/man3/strcat.3 +++ b/man3/strcat.3 @@ -51,7 +51,7 @@ characters are written. The \fBstrcat\fP() and \fBstrncat\fP() functions return a pointer to the resulting string \fIdest\fP. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899 +SVr4, 4.3BSD, C89, C99. .SH "SEE ALSO" .BR bcopy (3), .BR memccpy (3), diff --git a/man3/strchr.3 b/man3/strchr.3 index 0f05753ba..b96d662b5 100644 --- a/man3/strchr.3 +++ b/man3/strchr.3 @@ -68,7 +68,7 @@ or a pointer to the null byte at the end of \fIs\fP (i.e., \fIs+strlen(s)\fP) if the character is not found. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899 +SVr4, 4.3BSD, C89, C99. .SH "SEE ALSO" .BR index (3), .BR memchr (3), diff --git a/man3/strcmp.3 b/man3/strcmp.3 index 9b93f70ed..623effc05 100644 --- a/man3/strcmp.3 +++ b/man3/strcmp.3 @@ -52,7 +52,7 @@ less than, equal to, or greater than zero if \fIs1\fP (or the first \fIn\fP bytes thereof) is found, respectively, to be less than, to match, or be greater than \fIs2\fP. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899 +SVr4, 4.3BSD, C89, C99. .SH "SEE ALSO" .BR bcmp (3), .BR memcmp (3), diff --git a/man3/strcoll.3 b/man3/strcoll.3 index b8fdcd39e..3d7f2668b 100644 --- a/man3/strcoll.3 +++ b/man3/strcoll.3 @@ -47,7 +47,7 @@ or greater than zero if \fIs1\fP is found, respectively, to be less than, to match, or be greater than \fIs2\fP, when both are interpreted as appropriate for the current locale. .SH "CONFORMING TO" -SVID 3, 4.3BSD, ISO 9899 +SVr4, 4.3BSD, C99. .SH NOTES In the \fI"POSIX"\fP or \fI"C"\fP locales \fBstrcoll\fP() is equivalent to \fBstrcmp\fP(). diff --git a/man3/strcpy.3 b/man3/strcpy.3 index e919c1c18..03bc4781a 100644 --- a/man3/strcpy.3 +++ b/man3/strcpy.3 @@ -66,7 +66,7 @@ If the destination string of a \fBstrcpy\fP() is not large enough the size before copying) then anything might happen. Overflowing fixed length strings is a favourite cracker technique. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899 +SVr4, 4.3BSD, C89, C99. .SH "SEE ALSO" .BR bcopy (3), .BR memccpy (3), diff --git a/man3/strdup.3 b/man3/strdup.3 index d6012368a..8b659f95c 100644 --- a/man3/strdup.3 +++ b/man3/strdup.3 @@ -68,7 +68,8 @@ string, or NULL if insufficient memory was available. Insufficient memory available to allocate duplicate string. .SH "CONFORMING TO" .\" 4.3BSD-Reno, not (first) 4.3BSD. -SVID 3, 4.3BSD. +.BR strdup () +conforms to SVr4, 4.3BSD, POSIX.1-2001. \fBstrndup\fP(), \fBstrdupa\fP(), and \fBstrndupa\fP() are GNU extensions. .SH "SEE ALSO" .BR alloca (3), diff --git a/man3/strerror.3 b/man3/strerror.3 index 427527b0d..cc905b618 100644 --- a/man3/strerror.3 +++ b/man3/strerror.3 @@ -63,7 +63,7 @@ No library function will modify this string. The \fBstrerror_r\fP() function is similar to \fBstrerror\fP(), but is thread safe. This function is available in two versions: -an XSI-compliant version specified in SUSv3, +an XSI-compliant version specified in POSIX.1-2001, and a GNU-specific version (available since glibc 2.0). If _XOPEN_SOURCE is defined with the value 600, then the XSI-compliant version is provided, @@ -115,13 +115,13 @@ is not a valid error number. Insufficient storage was supplied to contain the error description string. .SH "CONFORMING TO" -POSIX.1 +POSIX.1-2001. The GNU-specific .BR strerror_r () function is a non-standard extension. -POSIX.1 permits +POSIX.1-2001 permits .BR strerror () to set .I errno diff --git a/man3/strfry.3 b/man3/strfry.3 index 9b4323cc6..4c2a908fe 100644 --- a/man3/strfry.3 +++ b/man3/strfry.3 @@ -44,7 +44,7 @@ result is an anagram of \fIstring\fP. The \fBstrfry\fP() functions returns a pointer to the randomized string. .SH "CONFORMING TO" -The \fBstrfry\fP() function is unique to the Linux C Library and +The \fBstrfry\fP() function is unique to the GNU C Library. .SH "SEE ALSO" .BR memfrob (3) diff --git a/man3/strftime.3 b/man3/strftime.3 index bbc2057b3..14843d685 100644 --- a/man3/strftime.3 +++ b/man3/strftime.3 @@ -248,7 +248,7 @@ for example, in many locales %p yields an empty string. .SH ENVIRONMENT The environment variables TZ and LC_TIME are used. .SH "CONFORMING TO" -ANSI C, SVID 3, ISO 9899. +SVr4, C89, C99. There are strict inclusions between the set of conversions given in ANSI C (unmarked), those given in the Single Unix Specification (marked SU), those given in Olson's timezone package (marked TZ), @@ -259,7 +259,7 @@ POSIX.1 only refers to ANSI C; POSIX.2 describes under several extensions that could apply to .BR strftime () as well. -The %F conversion is in C99 and POSIX 1003.1-2001. +The %F conversion is in C99 and POSIX.1-2001. In SUSv2, the %S specified allowed a range of 00 to 61, to allow for the theoretical possibility of a minute that diff --git a/man3/strlen.3 b/man3/strlen.3 index 84d1d76c1..e13946e78 100644 --- a/man3/strlen.3 +++ b/man3/strlen.3 @@ -40,7 +40,7 @@ The \fBstrlen\fP() function calculates the length of the string .SH "RETURN VALUE" The \fBstrlen\fP() function returns the number of characters in \fIs\fP. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899 +SVr4, 4.3BSD, C89, C99. .SH "SEE ALSO" .BR string (3), .BR wcslen (3), diff --git a/man3/strpbrk.3 b/man3/strpbrk.3 index 0e4c5ab96..41a5bbafb 100644 --- a/man3/strpbrk.3 +++ b/man3/strpbrk.3 @@ -42,7 +42,7 @@ The \fBstrpbrk\fP() function returns a pointer to the character in \fIs\fP that matches one of the characters in \fIaccept\fP, or NULL if no such character is found. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899 +SVr4, 4.3BSD, C99. .SH "SEE ALSO" .BR index (3), .BR memchr (3), diff --git a/man3/strptime.3 b/man3/strptime.3 index cd50aa37d..0e86ddfca 100644 --- a/man3/strptime.3 +++ b/man3/strptime.3 @@ -264,7 +264,7 @@ byte at the end of the string. If \fBstrptime\fP() fails to match all of the format string and therefore an error occurred the function returns NULL. .SH "CONFORMING TO" -XPG4, SUSv2, POSIX 1003.1-2001. +SUSv2, POSIX.1-2001. .SH EXAMPLE The following example demonstrates the use of \fBstrptime\fP() and \fBstrftime\fP(). diff --git a/man3/strsignal.3 b/man3/strsignal.3 index 0c17c6128..2db56cf01 100644 --- a/man3/strsignal.3 +++ b/man3/strsignal.3 @@ -52,8 +52,8 @@ string, or an unknown signal message if the signal number is invalid. On some systems (but not on Linux), a NULL pointer may be returned instead for an invalid signal number. .SH "CONFORMING TO" -This function is not part of any standard, but may be found on Linux -systems and some UNIX systems (such as Solaris). +This function is not part of any standard, but aside from +Linux, it can be found on Solaris and the BSDs. .SH "SEE ALSO" .BR psignal (3), .BR strerror (3) diff --git a/man3/strspn.3 b/man3/strspn.3 index edacaa4e9..1fec24c0b 100644 --- a/man3/strspn.3 +++ b/man3/strspn.3 @@ -53,7 +53,7 @@ The \fBstrcspn\fP() function returns the number of characters in the initial segment of \fIs\fP which are not in the string \fIreject\fP. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899 +SVr4, 4.3BSD, C89, C99. .SH "SEE ALSO" .BR index (3), .BR memchr (3), diff --git a/man3/strstr.3 b/man3/strstr.3 index 37ac7f33f..3ddca69a8 100644 --- a/man3/strstr.3 +++ b/man3/strstr.3 @@ -59,7 +59,7 @@ an empty \fIneedle\fP argument for \fBstrstr\fP(). Later versions (like 4.6.27) work correctly, and return \fIhaystack\fP when \fIneedle\fP is empty. .SH "CONFORMING TO" -The \fBstrstr\fP() function conforms to ISO 9899. +The \fBstrstr\fP() function conforms to C89 and C99. The \fBstrcasestr\fP() function is a non-standard extension. .SH "SEE ALSO" .BR index (3), diff --git a/man3/strtod.3 b/man3/strtod.3 index 014c9ba2f..ff61f8f39 100644 --- a/man3/strtod.3 +++ b/man3/strtod.3 @@ -139,7 +139,7 @@ is stored in .B ERANGE Overflow or underflow occurred. .SH "CONFORMING TO" -ANSI C describes +C89 describes .BR strtod (), C99 describes the other two functions. diff --git a/man3/strtoimax.3 b/man3/strtoimax.3 index a1661897c..9fa25a05f 100644 --- a/man3/strtoimax.3 +++ b/man3/strtoimax.3 @@ -55,7 +55,7 @@ is returned, and is set to .BR ERANGE . .SH "CONFORMING TO" -C99, POSIX 1003.1-2003. +C99, POSIX.1-2001. .SH "SEE ALSO" .BR imaxabs (3), .BR imaxdiv (3), diff --git a/man3/strtok.3 b/man3/strtok.3 index 043435f5a..e457fce02 100644 --- a/man3/strtok.3 +++ b/man3/strtok.3 @@ -163,7 +163,7 @@ the next token, or NULL if there are no more tokens. .SH "CONFORMING TO" .TP .BR strtok () -SVID 3, POSIX.1-2001, 4.3BSD, ISO 9899 +SVr4, POSIX.1-2001, 4.3BSD, C89. .TP .BR strtok_r () POSIX.1-2001 diff --git a/man3/strtol.3 b/man3/strtol.3 index f0baecd2b..ab394c0e8 100644 --- a/man3/strtol.3 +++ b/man3/strtol.3 @@ -128,9 +128,9 @@ or to .BR strtol (). .SH "CONFORMING TO" .BR strtol () -conforms to SVID 3, 4.3BSD, ISO 9899 (C99) and POSIX, and +conforms to SVr4, 4.3BSD, C99 and POSIX.1-2001, and .BR strtoll () -to ISO 9899 (C99) and POSIX 1003.1-2001. +to C99 and POSIX.1-2001. .SH EXAMPLE The program shown below demonstrates the use of .BR strtol (). diff --git a/man3/strtoul.3 b/man3/strtoul.3 index cf2e3e091..4e6820c1f 100644 --- a/man3/strtoul.3 +++ b/man3/strtoul.3 @@ -133,9 +133,9 @@ Negative values are considered valid input and are silently converted to the equivalent unsigned long value. .SH "CONFORMING TO" .BR strtoul () -conforms to SVID 3, 4.3BSD, ISO 9899 (C99) and POSIX, and +conforms to SVr4, C99 and POSIX-2001, and .BR strtoull () -to ISO 9899 (C99) and POSIX 1003.1-2001. +to C99 and POSIX.1-2001. .SH EXAMPLE See the example on the .BR strtol (3) diff --git a/man3/strxfrm.3 b/man3/strxfrm.3 index 08757ebe3..b2774acc7 100644 --- a/man3/strxfrm.3 +++ b/man3/strxfrm.3 @@ -48,7 +48,7 @@ store the transformed string in \fIdest\fP excluding the terminating `\\0' character. If the value returned is \fIn\fP or more, the contents of \fIdest\fP are indeterminate. .SH "CONFORMING TO" -SVID 3, 4.3BSD, ISO 9899 +SVr4, 4.3BSD, C99 .SH NOTES In the \fI"POSIX"\fP or \fI"C"\fP locales \fBstrxfrm\fP() is equivalent to copying the string with \fBstrncpy\fP(). diff --git a/man3/swab.3 b/man3/swab.3 index 952b6aff5..79e1f815d 100644 --- a/man3/swab.3 +++ b/man3/swab.3 @@ -49,6 +49,6 @@ as above, and does something unspecified with the last byte. .SH "RETURN VALUE" The \fBswab\fP() function returns no value. .SH "CONFORMING TO" -SVID 3, 4.3BSD, POSIX 1003.1-2001 +SVr4, 4.3BSD, POSIX.1-2001 .SH "SEE ALSO" .BR bstring (3) diff --git a/man3/sysconf.3 b/man3/sysconf.3 index cac103cd3..261274340 100644 --- a/man3/sysconf.3 +++ b/man3/sysconf.3 @@ -285,7 +285,7 @@ In the case of options, a positive value is returned if a queried option is available, and \-1 if it is not. In the case of limits, \-1 means that there is no definite limit. .SH "CONFORMING TO" -POSIX.1. +POSIX.1-2001. .SH BUGS It is difficult to use .B ARG_MAX diff --git a/man3/syslog.3 b/man3/syslog.3 index 40056560b..65eabdf8a 100644 --- a/man3/syslog.3 +++ b/man3/syslog.3 @@ -24,7 +24,7 @@ .\" .\" Updated 13 Oct 2001, Michael Kerrisk <mtk-manpages@gmx.net> .\" Added description of vsyslog -.\" Added descriptions of (SUSv3-specified) LOG_ODELAY and LOG_NOWAIT +.\" Added descriptions of LOG_ODELAY and LOG_NOWAIT .\" Added brief description of facility and option arguments .\" Added CONFORMING TO section .\" 2001-10-13, aeb, minor changes @@ -141,7 +141,7 @@ opening of the connection is delayed until is called. (This is the default, and need not be specified.) .TP .B LOG_PERROR -(Not in SUSv3.) Print to stderr as well. +(Not in POSIX.1-2001.) Print to stderr as well. .TP .B LOG_PID Include PID with each message. @@ -234,8 +234,8 @@ and .BR syslog () (but not .BR vsyslog ()) -are specified in SUSv2 and POSIX 1003.1-2001. -POSIX 1003.1-2001 specifies only the +are specified in SUSv2 and POSIX.1-2001. +POSIX.1-2001 specifies only the .B LOG_USER and .BR LOG_LOCAL* @@ -252,7 +252,7 @@ The .B LOG_PERROR value for .I option -is not specified by POSIX 1003.1-2001, but is available +is not specified by POSIX.1-2001, but is available in most versions of Unix. .SH HISTORY A diff --git a/man3/system.3 b/man3/system.3 index f26df74df..54cc721cf 100644 --- a/man3/system.3 +++ b/man3/system.3 @@ -74,7 +74,7 @@ returns non-zero if the shell is available, and zero if not. .BR system () does not affect the wait status of any other children. .SH "CONFORMING TO" -ANSI C, POSIX.2, 4.3BSD +C89, C99, POSIX..1-2001. .SH NOTES .PP If the diff --git a/man3/tan.3 b/man3/tan.3 index 336126587..3b36db138 100644 --- a/man3/tan.3 +++ b/man3/tan.3 @@ -47,7 +47,7 @@ Link with \-lm. The \fBtan\fP() function returns the tangent of \fIx\fP, where \fIx\fP is given in radians. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899. +SVr4, 4.3BSD, C89. The float and the long double variants are C99 requirements. .SH "SEE ALSO" .BR acos (3), diff --git a/man3/tanh.3 b/man3/tanh.3 index bc26ea1d2..e3130d957 100644 --- a/man3/tanh.3 +++ b/man3/tanh.3 @@ -47,7 +47,7 @@ Link with \-lm. The \fBtanh\fP() function returns the hyperbolic tangent of \fIx\fP, which is defined mathematically as sinh(x) / cosh(x). .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899 (C99). +SVr4, 4.3BSD, C89. The float and the long double variants are C99 requirements. .SH "SEE ALSO" .BR acosh (3), diff --git a/man3/tcgetsid.3 b/man3/tcgetsid.3 index 8ccdebe2e..0de9025d0 100644 --- a/man3/tcgetsid.3 +++ b/man3/tcgetsid.3 @@ -62,6 +62,6 @@ This function is implemented via the TIOCGSID present since Linux 2.1.71. .SH "CONFORMS TO" -POSIX 1003.1-2001 +POSIX.1-2001 .SH "SEE ALSO" .BR getsid (2) diff --git a/man3/telldir.3 b/man3/telldir.3 index 4fdb0affb..126144abe 100644 --- a/man3/telldir.3 +++ b/man3/telldir.3 @@ -48,7 +48,7 @@ is set appropriately. .B EBADF Invalid directory stream descriptor \fIdir\fP. .SH "CONFORMING TO" -4.3BSD +4.3BSD, POSIX.1-2001. .SH "SEE ALSO" .BR closedir (3), .BR opendir (3), diff --git a/man3/tempnam.3 b/man3/tempnam.3 index 3e78132a2..e26880b15 100644 --- a/man3/tempnam.3 +++ b/man3/tempnam.3 @@ -102,7 +102,7 @@ or SUSv2 does not mention the use of TMPDIR; glibc will use it only when the program is not set-user-ID. -SVID2 specifies that the directory used under \fBd)\fP is +On SVr4, the directory used under \fBd)\fP is .IR /tmp (and this is what glibc does). .LP @@ -138,7 +138,7 @@ or .BR tmpfile (3) instead. .SH "CONFORMING TO" -SVID 2, 4.3BSD, POSIX 1003.1-2003 +SVr4, 4.3BSD, POSIX.1-2001 .SH "SEE ALSO" .BR mkstemp (3), .BR mktemp (3), diff --git a/man3/termios.3 b/man3/termios.3 index 2691452f7..82cf40035 100644 --- a/man3/termios.3 +++ b/man3/termios.3 @@ -159,7 +159,7 @@ Linux does not implement this bit, and acts as if it is always set. .B OPOST Enable implementation-defined output processing. .PP -The remaining \fIc_oflag\fP flag constants are defined in POSIX 1003.1-2001, +The remaining \fIc_oflag\fP flag constants are defined in POSIX.1-2001, unless marked otherwise. .TP .B OLCUC diff --git a/man3/tmpfile.3 b/man3/tmpfile.3 index ab86b2696..769a26f60 100644 --- a/man3/tmpfile.3 +++ b/man3/tmpfile.3 @@ -67,7 +67,7 @@ There was no room in the directory to add the new filename. .B EROFS Read-only filesystem. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD, ISO 9899, SUSv2, POSIX.1-2001. +SVr4, 4.3BSD, C89, C99, SUSv2, POSIX.1-2001. .SH NOTES An error message may be written to \fIstdout\fP if the stream cannot be opened. diff --git a/man3/tmpnam.3 b/man3/tmpnam.3 index e330fad31..0238c929f 100644 --- a/man3/tmpnam.3 +++ b/man3/tmpnam.3 @@ -123,8 +123,7 @@ or .BR tmpfile (3) instead. .SH "CONFORMING TO" -SVID 2, POSIX, 4.3BSD, ISO 9899, -POSIX.1-2001. +SVr4, 4.3BSD, C89, C99, POSIX.1-2001. .SH "SEE ALSO" .BR mkstemp (3), .BR mktemp (3), diff --git a/man3/toascii.3 b/man3/toascii.3 index 1accfa7bd..dff031bac 100644 --- a/man3/toascii.3 +++ b/man3/toascii.3 @@ -40,7 +40,7 @@ high-order bits. .SH "RETURN VALUE" The value returned is that of the converted character. .SH "CONFORMING TO" -SVID, BSD +SVr4, BSD, POSIX.1-2001. .SH BUGS Many people will be unhappy if you use this function. This function will convert accented letters into random characters. diff --git a/man3/toupper.3 b/man3/toupper.3 index d6b560314..498a46ea8 100644 --- a/man3/toupper.3 +++ b/man3/toupper.3 @@ -53,7 +53,7 @@ The value returned is that of the converted letter, or .I c if the conversion was not possible. .SH "CONFORMING TO" -ANSI C, 4.3BSD +C89, C99, 4.3BSD .SH BUGS The details of what constitutes an uppercase or lowercase letter depend on the current locale. For example, the default diff --git a/man3/towctrans.3 b/man3/towctrans.3 index f9e79086b..09967c9ad 100644 --- a/man3/towctrans.3 +++ b/man3/towctrans.3 @@ -31,7 +31,7 @@ function. The \fBtowctrans\fP() function returns the translated wide character, or WEOF if \fIwc\fP is WEOF. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR towlower (3), .BR towupper (3), diff --git a/man3/towlower.3 b/man3/towlower.3 index 80f85098f..b96223e99 100644 --- a/man3/towlower.3 +++ b/man3/towlower.3 @@ -29,7 +29,7 @@ If \fIwc\fP is WEOF, WEOF is returned. The \fBtowlower\fP() function returns the lowercase equivalent of \fIwc\fP, or WEOF if \fIwc\fP is WEOF. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR iswlower (3), .BR towctrans (3), diff --git a/man3/towupper.3 b/man3/towupper.3 index c3d9d0807..85eec96f8 100644 --- a/man3/towupper.3 +++ b/man3/towupper.3 @@ -29,7 +29,7 @@ If \fIwc\fP is WEOF, WEOF is returned. The \fBtowupper\fP() function returns the uppercase equivalent of \fIwc\fP, or WEOF if \fIwc\fP is WEOF. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR iswupper (3), .BR towctrans (3), diff --git a/man3/tsearch.3 b/man3/tsearch.3 index 06e993687..254ddc409 100644 --- a/man3/tsearch.3 +++ b/man3/tsearch.3 @@ -189,7 +189,7 @@ in order. } .fi .SH "CONFORMING TO" -SVID. +SVr4, POSIX.1-2001. The function .BR tdestroy () is a GNU extension. diff --git a/man3/ttyname.3 b/man3/ttyname.3 index d8e7777eb..064ca9b7f 100644 --- a/man3/ttyname.3 +++ b/man3/ttyname.3 @@ -76,8 +76,7 @@ File descriptor does not refer to a terminal device. .I buflen was too small to allow storing the pathname. .SH "CONFORMING TO" -POSIX.1 -.\" don't know about these: SVID, AT&T, X/OPEN, 4.3BSD +4.2BSD, POSIX.1-2001. .SH "SEE ALSO" .BR fstat (2), .BR isatty (3) diff --git a/man3/ttyslot.3 b/man3/ttyslot.3 index c9367fb60..38ec7d0c6 100644 --- a/man3/ttyslot.3 +++ b/man3/ttyslot.3 @@ -121,7 +121,7 @@ Minix also has .BR ttyslot () appeared in Unix V7. .SH "CONFORMS TO" -XPG2. Legacy in SUSv2. Deleted in SUSv3. +SUSv1; marked as LECACY in SUSv2; removed in POSIX.1-2001. SUSv2 requires \-1 on error. .SH "SEE ALSO" .BR getttyent (3), diff --git a/man3/tzset.3 b/man3/tzset.3 index c97ea733b..2e5b6e69c 100644 --- a/man3/tzset.3 +++ b/man3/tzset.3 @@ -154,7 +154,7 @@ is a symlink to the file .I localtime or to the correct time zone file in the system time zone directory. .SH "CONFORMING TO" -SVID 3, POSIX, 4.3BSD +SVr4, POSIX.1-2001, 4.3BSD .SH NOTES Note that the variable \fIdaylight\fP does not indicate that daylight savings time applies right now. It used to give the number of some diff --git a/man3/ualarm.3 b/man3/ualarm.3 index 49cfe27eb..4925a3bb4 100644 --- a/man3/ualarm.3 +++ b/man3/ualarm.3 @@ -65,7 +65,7 @@ EINVAL \fIusecs\fP or \fIinterval\fP is not smaller than 1000000. (On systems where that is considered an error.) .SH "CONFORMING TO" -4.3BSD, POSIX 1003.1-2003. +4.3BSD, POSIX.1-2001. 4.3BSD, SUSv2 and POSIX do not define any errors. .SH NOTES The type @@ -78,7 +78,7 @@ included by .I <unistd.h> but glibc defines it only when _XOPEN_SOURCE has a value not less than 500, or both _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED are defined. -.\" useconds_t also gives problems on HPUX 10. +.\" useconds_t also gives problems on HP-UX 10. Programs will be more portable if they never mention this type explicitly. .LP The interaction of this function with diff --git a/man3/ulimit.3 b/man3/ulimit.3 index 4abc525f9..4f38e6989 100644 --- a/man3/ulimit.3 +++ b/man3/ulimit.3 @@ -77,7 +77,7 @@ is set appropriately. .B EPERM A non-root process tried to increase a limit. .SH "CONFORMING TO" -SVID. +SVr4, POSIX.1-2001. .SH "SEE ALSO" .BR bash (1), .BR getrlimit (2), diff --git a/man3/ungetwc.3 b/man3/ungetwc.3 index 6737c2482..c2e4546a5 100644 --- a/man3/ungetwc.3 +++ b/man3/ungetwc.3 @@ -42,7 +42,7 @@ level of push-back is guaranteed. The \fBungetwc\fP() function returns \fIwc\fP when successful, or WEOF upon failure. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C89. .SH "SEE ALSO" .BR fgetwc (3) .SH NOTES diff --git a/man3/unlocked_stdio.3 b/man3/unlocked_stdio.3 index 8cd7fa688..bcbfdd3bf 100644 --- a/man3/unlocked_stdio.3 +++ b/man3/unlocked_stdio.3 @@ -74,13 +74,14 @@ See .BR flockfile (3). .SH "CONFORMING TO" The four functions \fIgetc_unlocked\fP(), \fIgetchar_unlocked\fP(), -\fIputc_unlocked\fP(), \fIputchar_unlocked\fP() are in POSIX.1. +\fIputc_unlocked\fP(), \fIputchar_unlocked\fP() are in POSIX.1-2001. + The nonstandard .BR *_unlocked () variants occur on a few Unix systems, and are available in recent glibc. -.\" E.g., in HPUX 10.0. In HPUX 10.30 they are called obsolescent, and +.\" E.g., in HP-UX 10.0. In HP-UX 10.30 they are called obsolescent, and .\" moved to a compatibility library. -.\" Available in HPUX 10.0: clearerr_unlocked, fclose_unlocked, +.\" Available in HP-UX 10.0: clearerr_unlocked, fclose_unlocked, .\" feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked, .\" fgetwc_unlocked, fgetws_unlocked, fileno_unlocked, fputs_unlocked, .\" fputwc_unlocked, fputws_unlocked, fread_unlocked, fseek_unlocked, diff --git a/man3/unlockpt.3 b/man3/unlockpt.3 index dd8493c6b..987691176 100644 --- a/man3/unlockpt.3 +++ b/man3/unlockpt.3 @@ -39,7 +39,7 @@ The .I fd argument is not associated with a master pty. .SH "CONFORMING TO" -POSIX 1003.1-2001. +POSIX.1-2001. .SH "SEE ALSO" .BR grantpt (3), .BR posix_openpt (3), diff --git a/man3/usleep.3 b/man3/usleep.3 index f96ed790d..5432b7e35 100644 --- a/man3/usleep.3 +++ b/man3/usleep.3 @@ -61,7 +61,7 @@ EINVAL \fIusec\fP is not smaller than 1000000. (On systems where that is considered an error.) .SH "CONFORMING TO" -4.3BSD. +4.3BSD, POSIX.1-2001. The SUSv2 version returns int, and this is also the prototype used by glibc 2.2.2. Only the EINVAL error return is documented by SUSv2. @@ -89,7 +89,7 @@ included by .I <unistd.h> but glibc defines it only when _XOPEN_SOURCE has a value not less than 500, or both _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED are defined. -.\" useconds_t also gives problems on HPUX 10. +.\" useconds_t also gives problems on HP-UX 10. .LP The interaction of this function with the SIGALRM signal, and with other timer functions such as diff --git a/man3/wcrtomb.3 b/man3/wcrtomb.3 index db8a9bda6..22bcbdd25 100644 --- a/man3/wcrtomb.3 +++ b/man3/wcrtomb.3 @@ -48,7 +48,7 @@ have been written to the byte array at \fIs\fP. If \fIwc\fP can not be represented as a multibyte sequence (according to the current locale), (size_t)(\-1) is returned, and \fIerrno\fP set to \fBEILSEQ\fP. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR wcsrtombs (3) .SH NOTES diff --git a/man3/wcscat.3 b/man3/wcscat.3 index c9db60ee7..5536ea2fa 100644 --- a/man3/wcscat.3 +++ b/man3/wcscat.3 @@ -33,7 +33,7 @@ The programmer must ensure that there is room for at least .SH "RETURN VALUE" \fBwcscat\fP() returns \fIdest\fP. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR strcat (3), .BR wcpcpy (3), diff --git a/man3/wcschr.3 b/man3/wcschr.3 index e0b2c7c70..d11b77a70 100644 --- a/man3/wcschr.3 +++ b/man3/wcschr.3 @@ -29,7 +29,7 @@ The \fBwcschr\fP() function returns a pointer to the first occurrence of \fIwc\fP in the wide-character string pointed to by \fIwcs\fP, or NULL if \fIwc\fP does not occur in the string. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR strchr (3), .BR wcspbrk (3), diff --git a/man3/wcscmp.3 b/man3/wcscmp.3 index 0c72b5405..7a4b2ceb8 100644 --- a/man3/wcscmp.3 +++ b/man3/wcscmp.3 @@ -32,7 +32,7 @@ at the first differing position \fIi\fP, the corresponding wide-character at the first differing position \fIi\fP, the corresponding wide-character \fIs1[i]\fP is less than \fIs2[i]\fP. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR strcmp (3), .BR wcscasecmp (3), diff --git a/man3/wcscpy.3 b/man3/wcscpy.3 index 6d41c03df..e1603da6b 100644 --- a/man3/wcscpy.3 +++ b/man3/wcscpy.3 @@ -33,7 +33,7 @@ wide characters at \fIdest\fP. .SH "RETURN VALUE" \fBwcscpy\fP() returns \fIdest\fP. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR strcpy (3), .BR wcpcpy (3), diff --git a/man3/wcscspn.3 b/man3/wcscspn.3 index 97e4267d2..2257198ea 100644 --- a/man3/wcscspn.3 +++ b/man3/wcscspn.3 @@ -34,7 +34,7 @@ listed in \fIreject\fP. In other words, it returns the position of the first occurrence in the wide-character string \fIwcs\fP of any of the characters in the wide-character string \fIreject\fP, or \fIwcslen(wcs)\fP if there is none. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR strcspn (3), .BR wcspbrk (3), diff --git a/man3/wcslen.3 b/man3/wcslen.3 index 41f4ea169..17969c164 100644 --- a/man3/wcslen.3 +++ b/man3/wcslen.3 @@ -27,6 +27,6 @@ by \fIs\fP, not including the terminating L'\\0' character. .SH "RETURN VALUE" The \fBwcslen\fP() function returns the number of wide characters in \fIs\fP. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR strlen (3) diff --git a/man3/wcsncat.3 b/man3/wcsncat.3 index cdca365e2..532493209 100644 --- a/man3/wcsncat.3 +++ b/man3/wcsncat.3 @@ -33,7 +33,7 @@ The programmer must ensure that there is room for at least .SH "RETURN VALUE" \fBwcsncat\fP() returns \fIdest\fP. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR strncat (3), .BR wcscat (3) diff --git a/man3/wcsncmp.3 b/man3/wcsncmp.3 index 5b478daf8..cf78ad43c 100644 --- a/man3/wcsncmp.3 +++ b/man3/wcsncmp.3 @@ -35,7 +35,7 @@ greater than \fIs2[i]\fP. It returns an integer less than zero if at the first differing position \fIi\fP (\fIi\fP < \fIn\fP), the corresponding wide-character \fIs1[i]\fP is less than \fIs2[i]\fP. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR strncmp (3), .BR wcsncasecmp (3) diff --git a/man3/wcsncpy.3 b/man3/wcsncpy.3 index 9a845bc61..3f5b78c4a 100644 --- a/man3/wcsncpy.3 +++ b/man3/wcsncpy.3 @@ -37,6 +37,6 @@ characters at \fIdest\fP. .SH "RETURN VALUE" \fBwcsncpy\fP() returns \fIdest\fP. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR strncpy (3) diff --git a/man3/wcspbrk.3 b/man3/wcspbrk.3 index 2aab1782b..9c8f92957 100644 --- a/man3/wcspbrk.3 +++ b/man3/wcspbrk.3 @@ -30,7 +30,7 @@ The \fBwcspbrk\fP() function returns a pointer to the first occurrence in \fIwcs\fP of any of the characters listed in \fIaccept\fP. If \fIwcs\fP contains none of these characters, NULL is returned. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR strpbrk (3), .BR wcschr (3), diff --git a/man3/wcsrchr.3 b/man3/wcsrchr.3 index b55896e9a..3de370c39 100644 --- a/man3/wcsrchr.3 +++ b/man3/wcsrchr.3 @@ -29,7 +29,7 @@ The \fBwcsrchr\fP() function returns a pointer to the last occurrence of \fIwc\fP in the wide-character string pointed to by \fIwcs\fP, or NULL if \fIwc\fP does not occur in the string. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR strrchr (3), .BR wcschr (3) diff --git a/man3/wcsrtombs.3 b/man3/wcsrtombs.3 index 29b4a7f6b..2a35e580f 100644 --- a/man3/wcsrtombs.3 +++ b/man3/wcsrtombs.3 @@ -64,7 +64,7 @@ is returned, and .I errno set to \fBEILSEQ\fP. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR iconv (3), .BR wcsnrtombs (3), diff --git a/man3/wcsspn.3 b/man3/wcsspn.3 index 09a575096..527f75497 100644 --- a/man3/wcsspn.3 +++ b/man3/wcsspn.3 @@ -35,7 +35,7 @@ occurrence in the wide-character string \fIwcs\fP of a wide-character not contained in the wide-character string \fIaccept\fP, or \fIwcslen(wcs)\fP if there is none. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR strspn (3), .BR wcscspn (3) diff --git a/man3/wcsstr.3 b/man3/wcsstr.3 index 9ed766079..3086655f4 100644 --- a/man3/wcsstr.3 +++ b/man3/wcsstr.3 @@ -33,7 +33,7 @@ as a substring in \fIhaystack\fP. Note the special case: If \fIneedle\fP is the empty wide-character string, the return value is always \fIhaystack\fP itself. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR strstr (3), .BR wcschr (3) diff --git a/man3/wcstoimax.3 b/man3/wcstoimax.3 index f2d1cc686..b01ef4c2b 100644 --- a/man3/wcstoimax.3 +++ b/man3/wcstoimax.3 @@ -44,7 +44,7 @@ and .IR uintmax_t , respectively. .SH "CONFORMING TO" -C99, POSIX 1003.1-2003. +C99. .SH "SEE ALSO" .BR imaxabs (3), .BR imaxdiv (3), diff --git a/man3/wcstok.3 b/man3/wcstok.3 index e93ec38ee..ed5137491 100644 --- a/man3/wcstok.3 +++ b/man3/wcstok.3 @@ -57,7 +57,7 @@ for (token = wcstok(wcs, " \\t\\n", &state); } .fi .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR strtok (3), .BR wcschr (3) diff --git a/man3/wcstombs.3 b/man3/wcstombs.3 index e731aa3b5..bd93e2f0e 100644 --- a/man3/wcstombs.3 +++ b/man3/wcstombs.3 @@ -53,7 +53,7 @@ converted part of multibyte sequence, not including the terminating null byte. If a wide character was encountered which could not be converted, (size_t)(\-1) is returned. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR wcsrtombs (3) .SH NOTES diff --git a/man3/wcswidth.3 b/man3/wcswidth.3 index 0d51b6485..e528c6ac2 100644 --- a/man3/wcswidth.3 +++ b/man3/wcswidth.3 @@ -28,7 +28,7 @@ characters. If a non-printable wide character occurs among these characters, The \fBwcswidth\fP() function returns the number of column positions for the wide-character string \fIs\fP, truncated to at most length \fIn\fP. .SH "CONFORMING TO" -UNIX98 +POSIX.1-2001. .SH "SEE ALSO" .BR iswprint (3), .BR wcwidth (3) diff --git a/man3/wctob.3 b/man3/wctob.3 index c5bd54b60..9cf400c3c 100644 --- a/man3/wctob.3 +++ b/man3/wctob.3 @@ -32,7 +32,7 @@ multi-byte characters. The \fBwctob\fP() function returns the single-byte representation of \fIc\fP, if it exists, of EOF otherwise. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR wctomb (3) .SH NOTES diff --git a/man3/wctomb.3 b/man3/wctomb.3 index 6c97c7aaf..136e9ca57 100644 --- a/man3/wctomb.3 +++ b/man3/wctomb.3 @@ -46,7 +46,7 @@ returned. If \fIs\fP is NULL, the \fBwctomb\fP() function returns non-zero if the encoding has non-trivial shift state, or zero if the encoding is stateless. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR MB_CUR_MAX (3), .BR wcrtomb (3), diff --git a/man3/wctrans.3 b/man3/wctrans.3 index 18f0dd872..d4920a3cc 100644 --- a/man3/wctrans.3 +++ b/man3/wctrans.3 @@ -38,7 +38,7 @@ following names are valid in all locales. The \fBwctrans\fP() function returns a mapping descriptor if the \fIname\fP is valid. Otherwise it returns \fI(wctrans_t)0\fP. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR wctrans (3) .SH NOTES diff --git a/man3/wctype.3 b/man3/wctype.3 index 0f6f40262..ba20c8e07 100644 --- a/man3/wctype.3 +++ b/man3/wctype.3 @@ -49,7 +49,7 @@ following names are valid in all locales. The \fBwctype\fP() function returns a property descriptor if the \fIname\fP is valid. Otherwise it returns \fI(wctype_t)0\fP. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR iswctype (3) .SH NOTES diff --git a/man3/wcwidth.3 b/man3/wcwidth.3 index a24619760..bb964ff83 100644 --- a/man3/wcwidth.3 +++ b/man3/wcwidth.3 @@ -26,7 +26,8 @@ is at least 0. If \fIc\fP is L'\\0', the value is 0. Otherwise \-1 is returned. .SH "RETURN VALUE" The \fBwcwidth\fP() function returns the number of column positions for \fIc\fP. .SH "CONFORMING TO" -UNIX98, POSIX 1003.1-2001 +C99. + Note that glibc before 2.2.5 used the prototype .br .nf diff --git a/man3/wmemchr.3 b/man3/wmemchr.3 index 41b208015..23807d27e 100644 --- a/man3/wmemchr.3 +++ b/man3/wmemchr.3 @@ -29,7 +29,7 @@ The \fBwmemchr\fP() function returns a pointer to the first occurrence of \fIc\f among the \fIn\fP wide characters starting at \fIs\fP, or NULL if \fIc\fP does not occur among these. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR memchr (3), .BR wcschr (3) diff --git a/man3/wmemcmp.3 b/man3/wmemcmp.3 index c820889df..1f0a44d2b 100644 --- a/man3/wmemcmp.3 +++ b/man3/wmemcmp.3 @@ -32,7 +32,7 @@ returns an integer less than zero if at the first differing position \fIi\fP (\fIi\fP < \fIn\fP), the corresponding wide-character \fIs1[i]\fP is less than \fIs2[i]\fP. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR memcmp (3), .BR wcscmp (3) diff --git a/man3/wmemcpy.3 b/man3/wmemcpy.3 index ee3b75c4b..a52658562 100644 --- a/man3/wmemcpy.3 +++ b/man3/wmemcpy.3 @@ -33,7 +33,7 @@ characters at \fIdest\fP. .SH "RETURN VALUE" \fBwmemcpy\fP() returns \fIdest\fP. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR memcpy (3), .BR wcscpy (3), diff --git a/man3/wmemmove.3 b/man3/wmemmove.3 index 045ab0aff..5fd486d48 100644 --- a/man3/wmemmove.3 +++ b/man3/wmemmove.3 @@ -31,7 +31,7 @@ characters at \fIdest\fP. .SH "RETURN VALUE" \fBwmemmove\fP() returns \fIdest\fP. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR memmove (3), .BR wmemcpy (3) diff --git a/man3/wmemset.3 b/man3/wmemset.3 index d6256d118..9db12e255 100644 --- a/man3/wmemset.3 +++ b/man3/wmemset.3 @@ -27,6 +27,6 @@ with \fIn\fP copies of the wide character \fIwc\fP. .SH "RETURN VALUE" \fBwmemset\fP() returns \fIwcs\fP. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR memset (3) diff --git a/man3/wordexp.3 b/man3/wordexp.3 index 165e042e1..a6ff0bd31 100644 --- a/man3/wordexp.3 +++ b/man3/wordexp.3 @@ -191,7 +191,7 @@ Shell syntax error, such as unbalanced parentheses or unmatched quotes. .SH "CONFORMING TO" -XPG4, POSIX 1003.1-2003 +POSIX.1-2001 .SH "SEE ALSO" .BR fnmatch (3), diff --git a/man3/wprintf.3 b/man3/wprintf.3 index cc06b4644..2d5434cc9 100644 --- a/man3/wprintf.3 +++ b/man3/wprintf.3 @@ -118,7 +118,7 @@ The functions return the number of wide characters written, excluding the terminating null wide character in case of the functions \fBswprintf\fP() and \fBvswprintf\fP(). They return \-1 when an error occurs. .SH "CONFORMING TO" -ISO/ANSI C, UNIX98 +C99. .SH "SEE ALSO" .BR fprintf (3), .BR fputwc (3), @@ -137,7 +137,8 @@ compile time. This is because the .I wchar_t representation is platform and locale dependent. (The GNU libc represents wide characters using their Unicode (ISO-10646) code point, but other -platforms don't do this. Also, the use of ISO C99 universal character names +platforms don't do this. +Also, the use of C99 universal character names of the form \\unnnn does not solve this problem.) Therefore, in internationalized programs, the \fIformat\fP string should consist of ASCII wide characters only, or should be constructed at run time in an |