diff options
Diffstat (limited to 'man3')
295 files changed, 445 insertions, 412 deletions
diff --git a/man3/__setfpucw.3 b/man3/__setfpucw.3 index bffcb11ca4..93fcc02f13 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 21ac2bfab5..f27af271c4 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 a02d712fa7..ac8ec617d5 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 304a7c6a43..f567a5891f 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 aea1f17211..8f7c509f53 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 fc17e5e9a1..509c66a688 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 dead536382..2600626dd0 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 2900dce17e..6af3562f79 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 80c9ee237a..ee4ee04af8 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 7ee5c7e577..2750d0376a 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 38f2566878..0d0b21b94b 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 ada65666d2..3e4941489c 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 3a124dda58..19eaf85197 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 cb7930d569..67d9668fb3 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 fdcad22e9f..ce33c3d363 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 0aa54e8f8b..8c50f7259a 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 0cc667bf99..3ed53716f2 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 cd1e73d481..8e67231b41 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 53a37a5c43..3fa390c8f9 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 d556fca2c7..bdb8e72b79 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 bf92aca5ab..06c067de04 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 76ec1fb3a7..b6784fee60 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 596313def9..965f9bcab8 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 52bd66dfdc..63ca86a8f1 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 2cbb1b875d..e22be4ec23 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 bdd8cbeffd..076ddc02bc 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 9b7b976683..b321f62865 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 fa0bff6844..e9510fdc0b 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 5c3a45c98f..19cad889b6 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 2e5a5c4e23..77321c987b 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 caa2887875..f67546c0eb 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 00d00dca44..68a870b6b6 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 64676946f1..5904b51728 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 190b7ed0d9..a66b06fce8 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 0ccbbb7fbd..61c4257d3f 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 be66a870b4..4407797352 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 3fe74c2523..0620bf453f 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 7a3731ada2..4a8650045e 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 fb1e8aebf4..848b082778 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 b7f5e14adb..8a639f29fd 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 a21da0f253..1b4ef55ba6 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 824a2f7d00..24efda4ce2 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 7ac52ec9d1..0f23f6b046 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 47e0118c3a..ddf2b27fb2 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 465d5abc79..821ab635c8 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 8ff52a0662..929edcb5e9 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 32df1efefe..f1e28103f4 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 74546c3e4d..166e7dd65c 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 c1d07cfb8e..71bffeb70a 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 d72524478f..b51143f1e0 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 be3e7bfcf9..df4b55b0f9 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 c6de4bb906..edae9a3c3f 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 87f01a9b14..a1d0061eca 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 030f57060e..826ad88d63 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 b38f5b209d..d544e011b8 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 6a327a5b81..d6bbfe1248 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 3aa7100d6c..f232757323 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 e2cdb721cb..fc4c2faa49 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 00b09214a9..0bb66c0959 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 acc488b4c4..af197fdfce 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 0898416a45..e528b8b0f7 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 a70d9d8218..465a9e1515 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 eb804a82d5..eaaeaa5231 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 21ffb4fe32..214d990ba8 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 2c645a7a28..4e1d5081a8 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 4a3702855c..39644b4967 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 abba4d48f5..da2165e9dc 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 190c3a6757..4c21287bb8 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 b7e0cb3e88..90e2c8e2a1 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 6cc4c10593..da241321f6 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 c96ddb4261..1966c9fe63 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 864c2c1159..9e63b6858c 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 bdc27ecd53..6c742b6536 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 75fde82b2c..9fe91ede47 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 cfcadeec48..d21e6a90dc 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 bb46a101d1..deb7238907 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 c615870923..fc3125b3df 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 31f743bc7b..40d29687de 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 61693014a9..be340823df 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 72c2e21009..61167426a1 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 8386bf9f02..384181d6b2 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 346162bccc..2ef26539b9 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 8be20ae331..98d52b0f5a 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 3f9e84845b..b34df61971 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 7553c5baec..4410917cb0 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 0e5aec4d7e..af88ee52cf 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 eb07ac93d7..f4f018dec1 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 ab7752de4c..6c6dd4c2e4 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 38eef1e740..a3ebe8503b 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 c1dddb3f07..fd1bb69bf3 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 04d6ff2e42..bc190d2c93 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 bbe7c6aba9..3b44972920 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 dcac67916c..f9b89b2af9 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 e53b5f18f7..ccf3d870b8 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 bc36884555..3cc9e088bf 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 3ef91f6865..06a214ccb9 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 8f82188780..0ce15f7ed3 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 c9e2d95ad0..e2e760a8c5 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 0ac600c703..0c7d9ef804 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 2fdb7b42aa..a4c2edf41e 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 71a0c478f8..581f8b66e7 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 aef58e96cb..053d84d5bb 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 f4dc3a4f18..9f91dcd7fc 100644 --- a/man3/getopt.3 +++ b/man3/getopt.3 @@ -340,7 +340,8 @@ correct behaviour rather than that specified. .SH "CONFORMING TO" .TP \fBgetopt\fP(): -POSIX.2, provided the environment variable POSIXLY_CORRECT is set. +POSIX.2 and POSIX.1-2001, +provided the environment variable POSIXLY_CORRECT is set. Otherwise, the elements of \fIargv\fP aren't really const, because we permute them. We pretend they're const in the prototype to be compatible with other systems. @@ -353,8 +354,8 @@ SUSv1 permitted the declaration to appear in either .I <unistd.h> or .IR <stdio.h> . -SUSv3 marked the use of +POSIX.1-2001 marked the use of .I <stdio.h> for this purpose as LEGACY. -SUSv3 (POSIX.1-2001) does not allow the declaration to appear in +POSIX.1-2001 does not allow the declaration to appear in .IR <stdio.h> . diff --git a/man3/getprotoent.3 b/man3/getprotoent.3 index e5422d6800..f5d91abb40 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 9132368565..2d7bfc65aa 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 8a04ad6183..524cab34f3 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 5e89e2a9e4..d14cbd72e6 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 12dbe9e9a2..1b5c7a6257 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 ca727f0ac6..c046ebc66f 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 8174ceb3ec..d13dfd4c1f 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 9eaa718cac..f9d80608a0 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 c32e464795..df5da3e1ee 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 ed8363264d..55391b0dae 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 1087112cb7..88d58f44af 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 d631cbed4b..9eb90fd51d 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 7afa7a681a..8a82305d8d 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 f2e9ce87c4..6745b25ef9 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 711669a04c..17a76f5db8 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 3b25c3223c..de346cadaa 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 446befefee..8d000008f6 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 db39a2f9a5..4855bc92f3 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 c4dd869812..7e56f8d378 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 2a292a65f1..ec055e1838 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 2dc4492032..e9de584677 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 88192b4598..1c58a04552 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 620c3b9fe3..213128d628 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 1d6baaa5bf..759272500b 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 8cf5001d3e..d93a0116da 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 f947292757..4da154a1f0 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 a69378dfee..0ec0d9a133 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 ab4ec45a97..8356af6f1d 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 44e5d7b1aa..2a00ae8009 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 1efdbbd0dc..a7512f3236 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 eefa780a30..8fc71f3f58 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 05794916cb..b10659b530 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 796873e04f..64272212d6 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 c6d3d3c9a0..6681601066 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 8249e70e45..60b3bd79f6 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 edec171b82..eb3200288f 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 5760f2255a..6c38d8de85 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 291c0efd6f..77a452a57a 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 a1f9640ac6..6434dd3f7d 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 69cafe5ec7..8b9a45e7c3 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 2859303a54..d91d10dfb0 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 b558d6ee72..ff5a8be271 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 fa3c144bf9..cec7fe7566 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 49be75115b..939afe4a4a 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 6b006ea024..2f8cfb8a3c 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 08a1b5fe24..848cc5a1a4 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 29f2a43a3f..965d4489b5 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 fb1df4a826..65a97b7abe 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 11e84aee65..1c3a8a4408 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 48dc80cf97..f485e7362d 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 2f9260f675..9aa03d35ea 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 52ae07515c..0262a164e8 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 9eb0835e3d..302a61a9b3 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 0f1884b679..fb7901c86e 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 1a12126217..5fc1d4826b 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 a0a42006b8..0219ef9c53 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 206258726e..fed8eac7e2 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 7416fc2eaa..2e47e89dbe 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 35fa148f17..ed23e64d30 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 8fd7586d39..fb4e7ec423 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 e4c1540cdd..8b8d4d4fa2 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 2fef123c0f..8fd75aad4b 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 8282b27550..e9b4e0e072 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 68c8c3b9d5..033d6a34e4 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 c9d002d779..47f421277b 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 6c1255728e..adba77f0b3 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 c637f8b97b..48270944fa 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 bbec74a2da..5a1dbcc1db 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 5992b596af..21b9b453b1 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 972a7b4671..f38ea93b55 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 031121d7c0..5c42920f52 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 263c19880c..d733645d67 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 f7bdab4211..63981c24e9 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 ee7eb75120..b8c83ee8aa 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 2d591f7b28..518ed72bf7 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 8305592512..9bb5043b00 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 4a5ffa69ab..041f1478c7 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 45021ce2b2..c62bed0682 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 dbbe730abd..4031949406 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 75ed967596..b6eb55673d 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 aa8f696fe0..a6c555c38b 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 0886adba61..02f20ec061 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 8cd591d3e3..68c524532f 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 9fdf463a5a..05edf1ea26 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 c58e914135..b5fcb56fb4 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 23e4e533f9..af62063d1c 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 2ec78aff82..05c10d8df9 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 6cecf1bde7..a412bf5c3e 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 72dcf26a85..91c967d549 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 8c785fb141..3a3927ddfd 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 1e578b598f..fadd51b744 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 a9658f7804..a66dfc991d 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 e1642001a1..4b9e8d4b43 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 d6b4db0455..7c98c4cc86 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 1bc0e9868c..33d1997eab 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 74ffb45218..741e96de22 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 d95b696a29..79dc855414 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 b26a811f82..b630df3b06 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 eb1a7a7239..550f446061 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 cb6364dd3c..53bfe08163 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 8c46d9557c..2c82eadf25 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 f36e100475..a9c13f8896 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 0c3aec4e45..fa6be38f59 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 c45dc3def3..5b3f445065 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 76ba83491f..120a3e8e2c 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 05b364469b..99d2fc825e 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 cc601e345b..66eec5cf01 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 0a6a538e80..78d8cb4658 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 fa172f85d9..37d4195204 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 90e3780147..9560b272e5 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 0208de085b..c94f5a4a67 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 a4e4605951..b71d4d1da4 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 a3662fe037..fea81512a5 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 0f05753ba6..b96d662b5b 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 9b93f70ed0..623effc050 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 b8fdcd39e5..3d7f2668bb 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 e919c1c185..03bc4781af 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 d6012368a9..8b659f95cf 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 427527b0d2..cc905b6187 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 9b4323cc61..4c2a908fe9 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 bbc2057b35..14843d685c 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 84d1d76c1d..e13946e788 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 0e4c5ab963..41a5bbafb5 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 cd50aa37d8..0e86ddfcab 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 0c17c61280..2db56cf013 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 edacaa4e9f..1fec24c0b2 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 37ac7f33ff..3ddca69a8d 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 014c9ba2f4..ff61f8f39a 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 a1661897cc..9fa25a05fd 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 043435f5ac..e457fce02c 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 f0baecd2ba..ab394c0e8a 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 cf2e3e091d..4e6820c1f3 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 08757ebe38..b2774acc75 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 952b6aff59..79e1f815dd 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 cac103cd36..2612743400 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 40056560b0..65eabdf8ae 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 f26df74df6..54cc721cf1 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 3361265872..3b36db1389 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 bc26ea1d2f..e3130d9575 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 8ccdebe2e9..0de9025d08 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 4fdb0affbb..126144abe5 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 3e78132a23..e26880b154 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 2691452f7f..82cf400353 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 ab86b2696e..769a26f607 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 e330fad313..0238c929f2 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 1accfa7bdd..dff031bac3 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 d6b560314d..498a46ea82 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 f9e79086b5..09967c9ad8 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 80f85098fd..b96223e991 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 c3d9d08079..85eec96f88 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 06e993687b..254ddc409b 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 d8e7777eb1..064ca9b7f4 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 c9367fb60f..38ec7d0c6d 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 c97ea733b4..2e5b6e69c4 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 49cfe27eb7..4925a3bb4c 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 4abc525f97..4f38e69892 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 6737c2482f..c2e4546a5a 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 8cd7fa6883..bcbfdd3bfc 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 dd8493c6b7..9876911767 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 f96ed790dc..5432b7e35c 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 db8a9bda6b..22bcbdd25b 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 c9db60ee73..5536ea2fab 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 e0b2c7c70c..d11b77a703 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 0c72b5405f..7a4b2ceb85 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 6d41c03df3..e1603da6b8 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 97e4267d27..2257198eab 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 41f4ea169d..17969c1648 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 cdca365e25..532493209a 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 5b478daf8a..cf78ad43c5 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 9a845bc61c..3f5b78c4a5 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 2aab1782be..9c8f92957d 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 b55896e9a2..3de370c396 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 29b4a7f6be..2a35e580f8 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 09a5750967..527f75497d 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 9ed7660791..3086655f44 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 f2d1cc686a..b01ef4c2b2 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 e93ec38ee8..ed51374910 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 e731aa3b5d..bd93e2f0e9 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 0d51b6485d..e528c6ac2f 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 c5bd54b603..9cf400c3ca 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 6c97c7aaf7..136e9ca576 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 18f0dd8724..d4920a3cc6 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 0f6f402623..ba20c8e077 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 a246197608..bb964ff83a 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 41b2080158..23807d27ec 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 c820889dfb..1f0a44d2b7 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 ee3b75c4b3..a526585629 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 045ab0aff0..5fd486d487 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 d6256d118d..9db12e255f 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 165e042e1e..a6ff0bd318 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 cc06b4644f..2d5434cc96 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 |
