Updated CONFORMING TO section

This commit is contained in:
Michael Kerrisk 2006-08-03 13:57:30 +00:00
parent 97c1eac86f
commit 68e1685c25
295 changed files with 445 additions and 412 deletions

View File

@ -30,7 +30,7 @@ Set fpu control word on i386 architecture to
.br .br
.SH AVAILABILITY .SH AVAILABILITY
As of glibc 2.1 this function does not exist anymore. 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 , .IR /usr/include/fenv.h ,
to control fpu rounding modes, like to control fpu rounding modes, like
.IR fegetround , .IR fegetround ,

View File

@ -59,7 +59,7 @@ These functions are broken in glibc before 2.2.5
This is not the encoding used by This is not the encoding used by
.BR uuencode (1). .BR uuencode (1).
.SH "CONFORMING TO" .SH "CONFORMING TO"
XPG 4.2, POSIX 1003.1-2001. POSIX.1-2001.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR uuencode (1), .BR uuencode (1),
.BR itoa (3), .BR itoa (3),

View File

@ -47,7 +47,7 @@ function will still override it.
.SH "RETURN VALUE" .SH "RETURN VALUE"
The \fBabort\fP() function never returns. The \fBabort\fP() function never returns.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, POSIX, 4.3BSD, ISO 9899 (C99) SVr4, POSIX.1-2001, 4.3BSD, C99
.SH "SEE ALSO" .SH "SEE ALSO"
.BR sigaction (2), .BR sigaction (2),
.BR exit (3), .BR exit (3),

View File

@ -55,8 +55,9 @@ appropriate integer type for the function.
Returns the absolute value of the integer argument, of the appropriate Returns the absolute value of the integer argument, of the appropriate
integer type for the function. integer type for the function.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, POSIX.1, 4.3BSD, ISO/IEC 9899 (C99). POSIX.1 (1996 edition) only SVr4, POSIX.1-2001, 4.3BSD, C99.
requires the \fBabs\fP() function. ISO/IEC 9899:1990 (C89) only .\" POSIX.1 (1996 edition) only requires the \fBabs\fP() function.
C89 only
includes the \fBabs\fP() and \fBlabs\fP() functions; the functions includes the \fBabs\fP() and \fBlabs\fP() functions; the functions
\fBllabs\fP() and \fBimaxabs\fP() were added in C99. \fBllabs\fP() and \fBimaxabs\fP() were added in C99.
.SH NOTES .SH NOTES

View File

@ -53,7 +53,7 @@ value is mathematically defined to be between 0 and PI (inclusive).
.B EDOM .B EDOM
\fIx\fP is out of range. \fIx\fP is out of range.
.SH "CONFORMING TO" .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. The float and long double variants are C99 requirements.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR asin (3), .BR asin (3),

View File

@ -53,7 +53,7 @@ is set.
.B EDOM .B EDOM
\fIx\fP is out of range. \fIx\fP is out of range.
.SH "CONFORMING TO" .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. The float and long double variants are C99 requirements.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR asinh (3), .BR asinh (3),

View File

@ -73,7 +73,7 @@ is set appropriately.
.I fd .I fd
is not a valid file descriptor. is not a valid file descriptor.
.SH "CONFORMING TO" .SH "CONFORMING TO"
POSIX 1003.1-2003 POSIX.1-2001
.SH "SEE ALSO" .SH "SEE ALSO"
.BR aio_error (3), .BR aio_error (3),
.BR aio_fsync (3), .BR aio_fsync (3),

View File

@ -59,7 +59,7 @@ of which the return status (see
.BR aio_return (3)) .BR aio_return (3))
has not been retrieved yet. has not been retrieved yet.
.SH "CONFORMING TO" .SH "CONFORMING TO"
POSIX 1003.1-2003 POSIX.1-2001
.SH "SEE ALSO" .SH "SEE ALSO"
.BR aio_cancel (3), .BR aio_cancel (3),
.BR aio_fsync (3), .BR aio_fsync (3),

View File

@ -76,7 +76,7 @@ No synchronized I/O for this file is supported, or
.I op .I op
is not O_SYNC or O_DSYNC. is not O_SYNC or O_DSYNC.
.SH "CONFORMING TO" .SH "CONFORMING TO"
POSIX 1003.1-2003 POSIX.1-2001
.SH "SEE ALSO" .SH "SEE ALSO"
.BR aio_cancel (3), .BR aio_cancel (3),
.BR aio_error (3), .BR aio_error (3),

View File

@ -105,7 +105,7 @@ must not be accessed during the operation or undefined results may
occur. The memory areas involved must remain valid. occur. The memory areas involved must remain valid.
.SH "CONFORMING TO" .SH "CONFORMING TO"
POSIX 1003.1-2003 POSIX.1-2001
.SH "SEE ALSO" .SH "SEE ALSO"
.BR aio_cancel (3), .BR aio_cancel (3),
.BR aio_error (3), .BR aio_error (3),

View File

@ -56,7 +56,7 @@ On error, the error value is returned.
does not point at a control block for an asynchronous I/O request does not point at a control block for an asynchronous I/O request
of which the return status has not been retrieved yet. of which the return status has not been retrieved yet.
.SH "CONFORMING TO" .SH "CONFORMING TO"
POSIX 1003.1-2003 POSIX.1-2001
.SH "SEE ALSO" .SH "SEE ALSO"
.BR aio_cancel (3), .BR aio_cancel (3),
.BR aio_error (3), .BR aio_error (3),

View File

@ -73,7 +73,7 @@ One can achieve polling by using a non-NULL
.I timeout .I timeout
that specifies a zero time interval. that specifies a zero time interval.
.SH "CONFORMING TO" .SH "CONFORMING TO"
POSIX 1003.1-2003 POSIX.1-2001
.SH "SEE ALSO" .SH "SEE ALSO"
.BR aio_cancel (3), .BR aio_cancel (3),
.BR aio_error (3), .BR aio_error (3),

View File

@ -107,7 +107,7 @@ must not be accessed during the operation or undefined results may
occur. The memory areas involved must remain valid. occur. The memory areas involved must remain valid.
.SH "CONFORMING TO" .SH "CONFORMING TO"
POSIX 1003.1-2003 POSIX.1-2001
.SH "SEE ALSO" .SH "SEE ALSO"
.BR aio_cancel (3), .BR aio_cancel (3),
.BR aio_error (3), .BR aio_error (3),

View File

@ -61,7 +61,7 @@ There is evidence that the
.BR alloca () .BR alloca ()
function appeared in 32v, pwb, pwb.2, 3bsd, and 4bsd. There is a man page 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. 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" .SH "NOTES ON THE GNU VERSION"
Normally, Normally,
.B gcc .B gcc

View File

@ -56,7 +56,7 @@ value is mathematically defined to be between \-PI/2 and PI/2
.B EDOM .B EDOM
\fIx\fP is out of range. \fIx\fP is out of range.
.SH "CONFORMING TO" .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. The float and long double variants are C99 requirements.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR acos (3), .BR acos (3),

View File

@ -47,7 +47,7 @@ Link with \-lm.
The \fBasinh\fP() function calculates the inverse hyperbolic sine of The \fBasinh\fP() function calculates the inverse hyperbolic sine of
\fIx\fP; that is the value whose hyperbolic sine is \fIx\fP. \fIx\fP; that is the value whose hyperbolic sine is \fIx\fP.
.SH "CONFORMING TO" .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. The float and long double variants are C99 requirements.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR acosh (3), .BR acosh (3),

View File

@ -54,11 +54,12 @@ do_bar(), line 1287" is of no help at all to a user.
.SH "RETURN VALUE" .SH "RETURN VALUE"
No value is returned. No value is returned.
.SH "CONFORMING TO" .SH "CONFORMING TO"
ISO9899 (ANSI C). In the 1990 standard, POSIX.1-2001, C89, C99.
In C89,
.I expression .I expression
is required to be of type is required to be of type
.I int .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. it may have any scalar type.
.\" See Defect Report 107 for more details. .\" See Defect Report 107 for more details.
.SH BUGS .SH BUGS

View File

@ -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 value is mathematically defined to be between \-PI/2 and PI/2
(inclusive). (inclusive).
.SH "CONFORMING TO" .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. The float and long double variants are C99 requirements.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR acos (3), .BR acos (3),

View File

@ -52,7 +52,7 @@ arguments are used to determine the quadrant of the result.
The \fBatan2\fP() function returns the result in radians, which The \fBatan2\fP() function returns the result in radians, which
is between \-PI and PI (inclusive). is between \-PI and PI (inclusive).
.SH "CONFORMING TO" .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. The float and long double variants are C99 requirements.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR acos (3), .BR acos (3),

View File

@ -53,7 +53,7 @@ not-a-number (NaN) and \fIerrno\fP is set.
.B EDOM .B EDOM
\fIx\fP is out of range. \fIx\fP is out of range.
.SH "CONFORMING TO" .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. The float and long double variants are C99 requirements.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR acosh (3), .BR acosh (3),

View File

@ -94,7 +94,7 @@ Functions registered using \fBatexit\fP() (and \fBon_exit\fP())
are not called if a process terminates abnormally because are not called if a process terminates abnormally because
of the delivery of a signal. of the delivery of a signal.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, 4.3BSD, ISO 9899, POSIX 1003.1-2001 SVr4, 4.3BSD, C89, C99, POSIX.1-2001.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR _exit (3), .BR _exit (3),
.BR exit (3), .BR exit (3),

View File

@ -47,7 +47,7 @@ except that \fBatof\fP() does not detect errors.
.SH "RETURN VALUE" .SH "RETURN VALUE"
The converted value. The converted value.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, POSIX, 4.3BSD, ISO 9899 SVr4, POSIX.1-2001, 4.3BSD, C89, C99.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR atoi (3), .BR atoi (3),
.BR atol (3), .BR atol (3),

View File

@ -62,9 +62,11 @@ string to their return type of \fIlong\fP or \fIlong long\fP.
.SH "RETURN VALUE" .SH "RETURN VALUE"
The converted value. The converted value.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, POSIX.1, 4.3BSD, ISO/IEC 9899. ISO/IEC 9899:1990 (C89) and SVr4, POSIX.1-2001, 4.3BSD, C99.
POSIX.1 (1996 edition) include the functions \fBatoi\fP() and C89 and
\fBatol\fP() only; C99 adds the function \fBatoll\fP(). POSIX.1-1996 include the functions \fBatoi\fP() and \fBatol\fP() only.
.BR atoq (3)
is a GNU extension.
.SH NOTES .SH NOTES
The non-standard \fBatoq\fP() function is not present in libc 4.6.27 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 or glibc 2, but is present in libc5 and libc 4.7 (though only as an

View File

@ -159,7 +159,7 @@ Before glibc 2.2.1, the glibc version of
did not correctly handle pathnames with trailing '/' characters, did not correctly handle pathnames with trailing '/' characters,
and generated a segfault if given a NULL argument. and generated a segfault if given a NULL argument.
.SH "CONFORMING TO" .SH "CONFORMING TO"
POSIX 1003.1-2001 POSIX.1-2001
.SH "SEE ALSO" .SH "SEE ALSO"
.BR basename (1), .BR basename (1),
.BR dirname (1) .BR dirname (1)

View File

@ -55,7 +55,8 @@ The
function returns 0 if the byte sequences are equal, function returns 0 if the byte sequences are equal,
otherwise a non-zero result is returned. otherwise a non-zero result is returned.
.SH "CONFORMING TO" .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 () .BR memcmp ()
in new programs. in new programs.
.SH "SEE ALSO" .SH "SEE ALSO"

View File

@ -50,7 +50,8 @@ The result is correct, even when both areas overlap.
.SH "RETURN VALUE" .SH "RETURN VALUE"
None. None.
.SH "CONFORMING TO" .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 () .BR memcpy ()
or or
.BR memmove () .BR memmove ()

View File

@ -102,7 +102,7 @@ int main(int argc, char **argv) {
.fi .fi
.\" this example referred to in qsort.3 .\" this example referred to in qsort.3
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, 4.3BSD, ISO 9899 (C99) SVr4, 4.3BSD, POSIX.1-2001, C99
.SH "SEE ALSO" .SH "SEE ALSO"
.BR hsearch (3), .BR hsearch (3),
.BR lsearch (3), .BR lsearch (3),

View File

@ -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, byte \fIc\fP. If \fIc\fP is EOF or not a valid multibyte sequence of length 1,
it returns WEOF. it returns WEOF.
.SH "CONFORMING TO" .SH "CONFORMING TO"
ISO/ANSI C, UNIX98 ISO/ANSI C, POSIX.1-2001.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR mbtowc (3) .BR mbtowc (3)
.SH NOTES .SH NOTES

View File

@ -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 whereas the network byte order, as used on the Internet, is Most
Significant Byte first. Significant Byte first.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SUSv3. POSIX.1-2001.
Some systems require the inclusion of Some systems require the inclusion of
.I <netinet/in.h> .I <netinet/in.h>

View File

@ -46,7 +46,8 @@ to zero (bytes containing '\\0').
.SH "RETURN VALUE" .SH "RETURN VALUE"
None. None.
.SH "CONFORMING TO" .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 () .BR memset ()
in new programs. in new programs.
.SH "SEE ALSO" .SH "SEE ALSO"

View File

@ -74,11 +74,11 @@ is returned if the message catalog specified by
is not available, while an empty string is returned is not available, while an empty string is returned
when the message catalog is available but does not contain when the message catalog is available but does not contain
the specified message. 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 in favour of always returning
.IR message . .IR message .
.SH "CONFORMING TO" .SH "CONFORMING TO"
XPG4.2 POSIX.1-2001.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR catopen (3), .BR catopen (3),
.BR setlocale (3) .BR setlocale (3)

View File

@ -135,7 +135,7 @@ The language to use if
.I flag .I flag
is 0. is 0.
.SH NOTES .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. The glibc value for NL_CAT_LOCALE is 1.
(Compare MCLoadAll below.) (Compare MCLoadAll below.)
The default path varies, but usually looks at a number of places 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 and
.IR /usr/lib/locale . .IR /usr/lib/locale .
.SH "CONFORMING TO" .SH "CONFORMING TO"
POSIX 1003.1-2001. POSIX.1-2001.
In XPG 1987, Vol. 3 it says: .\" In XPG 1987, Vol. 3 it says:
.I "The flag argument of catopen is reserved for future use" .\" .I "The flag argument of catopen is reserved for future use"
.IR "and should be set to 0" . .\" .IR "and should be set to 0" .
It is unclear what the source was for the constants MCLoadBySet It is unclear what the source was for the constants MCLoadBySet
and MCLoadAll. and MCLoadAll.
.SH "SEE ALSO" .SH "SEE ALSO"

View File

@ -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 This function cannot fail; every representable real value has a
representable real cube root. representable real cube root.
.SH "CONFORMING TO" .SH "CONFORMING TO"
.BR cbrt () C99
was a GNU extension. It is now a C99 requirement. .\" .BR cbrt ()
.\" was a GNU extension. It is now a C99 requirement.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR pow (3), .BR pow (3),
.BR sqrt (3) .BR sqrt (3)

View File

@ -46,7 +46,7 @@ If \fIx\fP is NaN, then NaN is returned and
.I errno .I errno
may be set to EDOM. may be set to EDOM.
.SH NOTES .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 .I errno
to ERANGE, or raise an exception). to ERANGE, or raise an exception).
In practice, the result cannot overflow on any current machine, In practice, the result cannot overflow on any current machine,
@ -59,7 +59,7 @@ of mantissa bits is 24 (resp. 53).)
.SH "CONFORMING TO" .SH "CONFORMING TO"
The The
.BR ceil () .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. The other functions are from C99.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR floor (3), .BR floor (3),

View File

@ -30,9 +30,9 @@ The function
is defined as cerfc(z) = 1\-cerf(z). is defined as cerfc(z) = 1\-cerf(z).
.\" must check 1/sqrt(2*pi) ? .\" must check 1/sqrt(2*pi) ?
.SH "CONFORMING TO" .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 .SH AVAILABILITY
Not yet in glibc 2.3.2. Not yet in glibc, as at version 2.4.
.\" But reserved in NAMESPACE. .\" But reserved in NAMESPACE.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR erf (3), .BR erf (3),

View File

@ -17,9 +17,9 @@ Link with \-lm.
.SH DESCRIPTION .SH DESCRIPTION
The function returns 2 raised to the power of z. The function returns 2 raised to the power of z.
.SH "CONFORMING TO" .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 .SH AVAILABILITY
Not yet in glibc 2.3.2. Not yet in glibc, as at version 2.4.
.\" But reserved in NAMESPACE. .\" But reserved in NAMESPACE.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR cabs (3), .BR cabs (3),

View File

@ -46,11 +46,12 @@ value on failure.
Not in libc4, libc5. In glibc since glibc 2.0. Not in libc4, libc5. In glibc since glibc 2.0.
.SH "CONFORMING TO" .SH "CONFORMING TO"
Various Unix variants (DGUX, HPUX, QNX, ...). Various Unix variants (DGUX, HP-UX, QNX, ...).
POSIX.9 (bindings for FORTRAN77). POSIX.9 (bindings for FORTRAN77).
POSIX.1-1996 did not accept \fBclearenv\fP() and \fIputenv\fP(), POSIX.1-1996 did not accept \fBclearenv\fP() and \fIputenv\fP(),
but changed its mind and scheduled these functions for some 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(). only adds \fIputenv\fP(), and rejected \fBclearenv\fP().
.SH NOTES .SH NOTES
@ -74,7 +75,7 @@ functions, then
.BR clearenv () .BR clearenv ()
will return an error and the process environment will remain unchanged. will return an error and the process environment will remain unchanged.
.\" .LP .\" .LP
.\" HPUX has a ENOMEM error return. .\" HP-UX has a ENOMEM error return.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR getenv (3), .BR getenv (3),
.BR putenv (3), .BR putenv (3),

View File

@ -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 If the processor time used is not available or its value cannot
be represented, the function returns the value (clock_t)\-1. be represented, the function returns the value (clock_t)\-1.
.SH "CONFORMING TO" .SH "CONFORMING TO"
ANSI C. C89, C99, POSIX.1-2001.
POSIX requires that CLOCKS_PER_SEC equals 1000000 independent POSIX requires that CLOCKS_PER_SEC equals 1000000 independent
of the actual resolution. of the actual resolution.
.SH NOTES .SH NOTES
@ -70,7 +70,7 @@ value returned by
.BR clock (). .BR clock ().
.\" I have seen this behaviour on Irix 6.3, and the OSF/1, HP/UX, and .\" 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. .\" 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 .\" explicit prohibition. -- MTK
The The
.BR times () .BR times ()

View File

@ -184,7 +184,7 @@ are available.
(See also (See also
.BR sysconf (3).) .BR sysconf (3).)
.SH "CONFORMING TO" .SH "CONFORMING TO"
SUSv2, POSIX 1003.1-2001. SUSv2, POSIX.1-2001.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR date (1), .BR date (1),
.BR adjtimex (2), .BR adjtimex (2),

View File

@ -18,9 +18,9 @@ Link with \-lm.
The logarithm is defined as log2(cabs(z))+I*carg(z). The logarithm is defined as log2(cabs(z))+I*carg(z).
Please note that z close to zero will cause an overflow. Please note that z close to zero will cause an overflow.
.SH "CONFORMING TO" .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 .SH AVAILABILITY
Not yet in glibc 2.3.2. Not yet in glibc, as at version 2.4.
.\" But reserved in NAMESPACE. .\" But reserved in NAMESPACE.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR cabs (3), .BR cabs (3),

View File

@ -51,7 +51,7 @@ is set appropriately.
.B EBADF .B EBADF
Invalid directory stream descriptor \fIdir\fP. Invalid directory stream descriptor \fIdir\fP.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, POSIX, 4.3BSD SVr4, POSIX.1-2001, 4.3BSD
.SH "SEE ALSO" .SH "SEE ALSO"
.BR close (2), .BR close (2),
.BR opendir (3), .BR opendir (3),

View File

@ -25,7 +25,7 @@
.\" are documented under 'info confstr'. .\" are documented under 'info confstr'.
.\" See <bits/confname.h> for the rest. .\" See <bits/confname.h> for the rest.
.\" These should all be added to this page. .\" 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" .TH CONFSTR 3 1993-04-17 "GNU" "Linux Programmer's Manual"
.SH NAME .SH NAME
confstr \- get configuration dependent string variables confstr \- get configuration dependent string variables

View File

@ -48,7 +48,7 @@ given in radians.
.SH "RETURN VALUE" .SH "RETURN VALUE"
The \fBcos\fP() function returns a value between \-1 and 1. The \fBcos\fP() function returns a value between \-1 and 1.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, POSIX, 4.3BSD, ISO 9899. SVr4, 4.3BSD, C99.
The float and the long double variants are C99 requirements. The float and the long double variants are C99 requirements.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR acos (3), .BR acos (3),

View File

@ -48,8 +48,12 @@ Link with \-lm.
The \fBcosh\fP() function returns the hyperbolic cosine of \fIx\fP, which The \fBcosh\fP() function returns the hyperbolic cosine of \fIx\fP, which
is defined mathematically as (exp(x) + exp(\-x)) / 2. is defined mathematically as (exp(x) + exp(\-x)) / 2.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, POSIX, 4.3BSD, ISO 9899 (C99). SVr4, POSIX, 4.3BSD, C99.
The float and the long double variants are C99 requirements. The
.I float
and the
.I "long double"
variants are C99 requirements.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR acosh (3), .BR acosh (3),
.BR asinh (3), .BR asinh (3),

View File

@ -142,7 +142,7 @@ The entire key is significant here (instead of only the first
.LP .LP
Programs using this function must be linked with \-lcrypt. Programs using this function must be linked with \-lcrypt.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID, X/OPEN, 4.3BSD, POSIX 1003.1-2001 SVr4, 4.3BSD, POSIX.1-2001
.SH "SEE ALSO" .SH "SEE ALSO"
.BR login (1), .BR login (1),
.BR passwd (1), .BR passwd (1),

View File

@ -46,7 +46,7 @@ is the maximum number of characters in the returned pathname.
.SH "RETURN VALUE" .SH "RETURN VALUE"
The pointer to the pathname. The pointer to the pathname.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID, Issue 1; POSIX.1 Svr4, POSIX.1-2001.
.SH BUGS .SH BUGS
The path returned may not uniquely identify the controlling The path returned may not uniquely identify the controlling
terminal; it may, for example, be terminal; it may, for example, be

View File

@ -220,7 +220,7 @@ defined when _BSD_SOURCE was set before including
.IR <time.h> . .IR <time.h> .
This is a BSD extension, present in 4.3BSD-Reno. This is a BSD extension, present in 4.3BSD-Reno.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, POSIX, 4.3BSD, ISO 9899 SVr4, POSIX.1-2001, 4.3BSD, C89, C99.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR date (1), .BR date (1),
.BR gettimeofday (2), .BR gettimeofday (2),

View File

@ -41,9 +41,8 @@ The two times are specified in calendar time, which represents the time
elapsed since the Epoch elapsed since the Epoch
(00:00:00 on January 1, 1970, Coordinated Universal Time (UTC)). (00:00:00 on January 1, 1970, Coordinated Universal Time (UTC)).
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, 4.3BSD, ISO 9899 SVr4, 4.3BSD, C99
.SH NOTES .SH NOTES
This function is required by ANSI C.
On a POSIX system, On a POSIX system,
.I time_t .I time_t
is an arithmetic type, and one could just is an arithmetic type, and one could just
@ -61,7 +60,7 @@ On other systems, the data type
might use some other encoding might use some other encoding
where subtraction doesn't work directly. where subtraction doesn't work directly.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, 4.3BSD, POSIX.1-2001. SVr4, 4.3BSD, POSIX.1-2001.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR date (1), .BR date (1),
.BR gettimeofday (2), .BR gettimeofday (2),

View File

@ -56,7 +56,10 @@ or
is defined. is defined.
.SH "CONFORMING TO" .SH "CONFORMING TO"
This is a BSD extension, present in 4.3BSD-Reno, not in 4.2BSD. 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" .SH "SEE ALSO"
.BR open (2), .BR open (2),
.BR closedir (3), .BR closedir (3),

View File

@ -66,12 +66,12 @@ After
.fi .fi
the values \fIq.quot\fP and \fIq.rem\fP are \-1 and \-2, respectively. the values \fIq.quot\fP and \fIq.rem\fP are \-1 and \-2, respectively.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, 4.3BSD, ISO 9899. SVr4, 4.3BSD, C89.
The functions The functions
.BR lldiv () .BR lldiv ()
and and
.BR imaxdiv () .BR imaxdiv ()
were added in ISO C99. were added in C99.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR abs (3), .BR abs (3),
.BR remainder (3) .BR remainder (3)

View File

@ -367,7 +367,7 @@ int main(int argc, char **argv) {
} }
dlerror(); /* Clear any existing error */ 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 .\" the dlsym() casting problem
*(void **) (&cosine) = dlsym(handle, "cos"); *(void **) (&cosine) = dlsym(handle, "cos");
if ((error = dlerror()) != NULL) { if ((error = dlerror()) != NULL) {
@ -419,7 +419,7 @@ The dlopen interface standard comes from SunOS. That system also has
but not but not
.BR dlvsym (). .BR dlvsym ().
.SH "CONFORMING TO" .SH "CONFORMING TO"
POSIX 1003.1-2003 describes POSIX.1-2001 describes
.BR dlclose (), .BR dlclose (),
.BR dlerror (), .BR dlerror (),
.BR dlopen (), .BR dlopen (),

View File

@ -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 has been called, a subsequent call to either \fBsrand48\fP() or
\fBseed48\fP() will restore the standard values of \fIa\fP and \fIc\fP. \fBseed48\fP() will restore the standard values of \fIa\fP and \fIc\fP.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3 SVr4, POSIX.1-2001.
.SH NOTES .SH NOTES
These functions are declared obsolete by SVID 3, which states that These functions are declared obsolete by SVID 3, which states that
.BR rand(3) .BR rand(3)

View File

@ -72,7 +72,8 @@ as
.BR size_t . .BR size_t .
Not all locales use a point as the radix character (`decimal point'). Not all locales use a point as the radix character (`decimal point').
.SH "CONFORMING TO" .SH "CONFORMING TO"
System V release 2, XPG2 SVr2;
marked as LEGACY in POSIX.1-2001.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR ecvt_r (3), .BR ecvt_r (3),
.BR gcvt (3), .BR gcvt (3),

View File

@ -132,7 +132,7 @@ The functions
.BR encrypt () .BR encrypt ()
and and
.BR setkey () .BR setkey ()
conform to SVID, SUSv2, and POSIX 1003.1-2001. conform to SVr4, SUSv2, and POSIX.1-2001.
The functions The functions
.BR encrypt_r () .BR encrypt_r ()
and and

View File

@ -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 The \fBerfc\fP() function returns the complementary error function of
\fIx\fP, that is 1.0 \- erf(x). \fIx\fP, that is 1.0 \- erf(x).
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, 4.3BSD, C99. SVr4, 4.3BSD, C99.
The float and long double variants are requirements of C99. The float and long double variants are requirements of C99.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR cerf (3), .BR cerf (3),

View File

@ -21,7 +21,7 @@
.\" USA. .\" USA.
.\" .\"
.\" 5 Oct 2002, Modified by Michael Kerrisk <mtk-manpages@gmx.net> .\" 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 .\" 2004-12-17 Martin Schulze <joey@infodrom.org>, mtk
.\" Removed errno declaration prototype, added notes .\" Removed errno declaration prototype, added notes
.\" 2006-02-09 Kurt Wall, mtk .\" 2006-02-09 Kurt Wall, mtk

View File

@ -197,11 +197,4 @@ and
upon which they returned. They now return if any error other than the ones upon which they returned. They now return if any error other than the ones
described above occurs. described above occurs.
.SH "CONFORMING TO" .SH "CONFORMING TO"
.BR execl (), POSIX.1-2001.
.BR execv (),
.BR execle (),
.BR execlp ()
and
.BR execvp ()
conform to
IEEE Std1003.1-88 (``POSIX.1'').

View File

@ -54,7 +54,7 @@ termination, respectively.
.SH "RETURN VALUE" .SH "RETURN VALUE"
The \fBexit\fP() function does not return. The \fBexit\fP() function does not return.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, POSIX, 4.3BSD, ISO 9899 (``ANSI C'') SVr4, 4.3BSD, POSIX.1-2001.
.SH NOTES .SH NOTES
.LP .LP
It is undefined what happens if one of the It is undefined what happens if one of the

View File

@ -48,7 +48,7 @@ Link with \-lm.
The \fBexp\fP() function returns the value of e (the base of natural The \fBexp\fP() function returns the value of e (the base of natural
logarithms) raised to the power of \fIx\fP. logarithms) raised to the power of \fIx\fP.
.SH "CONFORMING TO" .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. The float and the long double variants are C99 requirements.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR cbrt (3), .BR cbrt (3),

View File

@ -48,7 +48,7 @@ Compile with \-std=c99; link with \-lm.
The \fBexp2\fP() function returns the value of 2 The \fBexp2\fP() function returns the value of 2
raised to the power of \fIx\fP. raised to the power of \fIx\fP.
.SH "CONFORMING TO" .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. The float and the long double variants are C99 requirements.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR cbrt (3), .BR cbrt (3),

View File

@ -50,7 +50,7 @@ No errors can occur.
.SH "CONFORMING TO" .SH "CONFORMING TO"
The The
.BR fabs () .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. The other functions are from C99.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR abs (3), .BR abs (3),

View File

@ -93,9 +93,7 @@ on disk the kernel buffers must be flushed too, e.g. with
or or
.BR fsync (2). .BR fsync (2).
.SH "CONFORMING TO" .SH "CONFORMING TO"
The C89, C99.
.BR fclose ()
function conforms to ANSI X3.159-1989 (``ANSI C'').
.SH "SEE ALSO" .SH "SEE ALSO"
.BR close (2), .BR close (2),
.BR fcloseall (3), .BR fcloseall (3),

View File

@ -252,4 +252,4 @@ function returns the set of all currently enabled exceptions.
Link with Link with
.BR \-lm . .BR \-lm .
.SH "CONFORMING TO" .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.

View File

@ -99,7 +99,7 @@ The functions
.BR feof (), .BR feof (),
and and
.BR ferror () .BR ferror ()
conform to X3.159-1989 (``ANSI C''). conform to C89.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR open (2), .BR open (2),
.BR fdopen (3), .BR fdopen (3),

View File

@ -68,5 +68,7 @@ file system could not be accessed.
is implemented since glibc 2.3.2. is implemented since glibc 2.3.2.
.SH "CONFORMING TO" .SH "CONFORMING TO"
This function is Linux specific. This function is Linux specific.
.\" As at 2006:
It is under consideration for inclusion in a future version of POSIX.1.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR execve (2) .BR execve (2)

View File

@ -93,9 +93,7 @@ the kernel buffers must be flushed too, e.g. with
or or
.BR fsync (2). .BR fsync (2).
.SH "CONFORMING TO" .SH "CONFORMING TO"
The function C89, C99.
.BR fflush ()
conforms to ANSI X3.159-1989 (``ANSI C'').
.SH "SEE ALSO" .SH "SEE ALSO"
.BR fsync (2), .BR fsync (2),
.BR sync (2), .BR sync (2),

View File

@ -58,7 +58,7 @@ These functions return the position of the first bit set,
or 0 if no bits are set in or 0 if no bits are set in
.IR i . .IR i .
.SH "CONFORMING TO" .SH "CONFORMING TO"
4.3BSD, POSIX 1003.1-2001. 4.3BSD, POSIX.1-2001.
.SH NOTES .SH NOTES
BSD systems have a prototype in BSD systems have a prototype in
.IR <string.h> . .IR <string.h> .

View File

@ -64,7 +64,7 @@ or NULL if there are no more entries or an error occurs.
.B ENOMEM .B ENOMEM
Insufficient memory to allocate group information structure. Insufficient memory to allocate group information structure.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3 SVr4
.SH "SEE ALSO" .SH "SEE ALSO"
.BR endgrent (3), .BR endgrent (3),
.BR fgetgrent_r (3), .BR fgetgrent_r (3),

View File

@ -75,7 +75,7 @@ Insufficient memory to allocate passwd structure.
.I /etc/passwd .I /etc/passwd
password database file password database file
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3 SVr4
.SH "SEE ALSO" .SH "SEE ALSO"
.BR endpwent (3), .BR endpwent (3),
.BR fgetpwent_r (3), .BR fgetpwent_r (3),

View File

@ -48,7 +48,7 @@ Apart from the usual ones, there is
The data obtained from the input stream does not The data obtained from the input stream does not
form a valid character. form a valid character.
.SH "CONFORMING TO" .SH "CONFORMING TO"
ISO/ANSI C, UNIX98 ISO/ANSI C, POSIX.1-2001.
.SH NOTES .SH NOTES
The behaviour of \fBfgetwc\fP() depends on the LC_CTYPE category of the The behaviour of \fBfgetwc\fP() depends on the LC_CTYPE category of the
current locale. current locale.

View File

@ -37,7 +37,7 @@ For a non-locking counterpart, see
The \fBfgetws\fP() function, if successful, returns \fIws\fP. If end of stream The \fBfgetws\fP() function, if successful, returns \fIws\fP. If end of stream
was already reached or if an error occurred, it returns NULL. was already reached or if an error occurred, it returns NULL.
.SH "CONFORMING TO" .SH "CONFORMING TO"
ISO/ANSI C, UNIX98 ISO/ANSI C, POSIX.1-2001.
.SH NOTES .SH NOTES
The behaviour of \fBfgetws\fP() depends on the LC_CTYPE category of the The behaviour of \fBfgetws\fP() depends on the LC_CTYPE category of the
current locale. current locale.

View File

@ -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 is defined. They are in libc since libc 5.1.1 and in glibc
since glibc 2.0. since glibc 2.0.
.SH "CONFORMING TO" .SH "CONFORMING TO"
POSIX.1 POSIX.1-2001.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR unlocked_stdio (3) .BR unlocked_stdio (3)

View File

@ -46,7 +46,7 @@ If \fIx\fP is NaN, then NaN is returned and
.I errno .I errno
may be set to EDOM. may be set to EDOM.
.SH NOTES .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 .I errno
to ERANGE, or raise an exception). to ERANGE, or raise an exception).
In practice, the result cannot overflow on any current machine, In practice, the result cannot overflow on any current machine,
@ -59,7 +59,7 @@ of mantissa bits is 24 (resp. 53).)
.SH "CONFORMING TO" .SH "CONFORMING TO"
The The
.BR floor () .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. The other functions are from C99.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR ceil (3), .BR ceil (3),

View File

@ -55,7 +55,7 @@ when the function fails and \fIerrno\fP is set.
.B EDOM .B EDOM
The denominator \fIy\fP is zero. The denominator \fIy\fP is zero.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, POSIX, 4.3BSD, ISO 9899. SVr4, 4.3BSD, C89.
The float and the long double variants are C99 requirements. The float and the long double variants are C99 requirements.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR remainder (3) .BR remainder (3)

View File

@ -216,12 +216,12 @@ and environment variables
.B MSGVERB .B MSGVERB
and and
.B SEV_LEVEL .B SEV_LEVEL
come from System V (XPG4-UNIX). come from System V.
The function The function
.BR fmtmsg () .BR fmtmsg ()
and the environment variable and the environment variable
.B MSGVERB .B MSGVERB
are described in POSIX 1003.1-2001. are described in POSIX.1-2001.
.SH NOTES .SH NOTES
System V and Unixware man pages tell us that these functions System V and Unixware man pages tell us that these functions
have been replaced by "pfmt() and addsev()" or by "pfmt(), have been replaced by "pfmt() and addsev()" or by "pfmt(),

View File

@ -90,7 +90,8 @@ matches
.B FNM_NOMATCH .B FNM_NOMATCH
if there is no match or another non-zero value if there is an error. if there is no match or another non-zero value if there is an error.
.SH "CONFORMING TO" .SH "CONFORMING TO"
ISO/IEC 9945-2: 1993 (POSIX.2). The POSIX.2.
The
.BR FNM_FILE_NAME ", " FNM_LEADING_DIR ", and " FNM_CASEFOLD .BR FNM_FILE_NAME ", " FNM_LEADING_DIR ", and " FNM_CASEFOLD
flags are GNU extensions. flags are GNU extensions.
.SH "SEE ALSO" .SH "SEE ALSO"

View File

@ -93,8 +93,8 @@ The
.I mode .I mode
string can also include the letter ``b'' either as a last character or as 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 a character between the characters in any of the two-character strings
described above. This is strictly for compatibility with ANSI X3.159-1989 described above. This is strictly for compatibility with C89
(``ANSI C'') and has no effect; the ``b'' is ignored on all POSIX and has no effect; the ``b'' is ignored on all POSIX
conforming systems, including Linux. conforming systems, including Linux.
(Other systems may treat text files and binary files differently, (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 and adding the ``b'' may be a good idea if you do I/O to a binary
@ -226,9 +226,10 @@ The
.BR fopen () .BR fopen ()
and and
.BR freopen () .BR freopen ()
functions conform to ANSI X3.159-1989 (``ANSI C''). The functions conform to C89.
The
.BR fdopen () .BR fdopen ()
function conforms to IEEE Std1003.1-1988 (``POSIX.1''). function conforms to POSIX.1-1990.
.SH "GLIBC EXTENSIONS" .SH "GLIBC EXTENSIONS"
The GNU C library allows the following extensions for the string specified in The GNU C library allows the following extensions for the string specified in
.IR mode : .IR mode :

View File

@ -45,7 +45,7 @@ Apart from the usual ones, there is
.B EILSEQ .B EILSEQ
Conversion of \fIwc\fP to the stream's encoding fails. Conversion of \fIwc\fP to the stream's encoding fails.
.SH "CONFORMING TO" .SH "CONFORMING TO"
ISO/ANSI C, UNIX98 ISO/ANSI C, POSIX.1-2001.
.SH NOTES .SH NOTES
The behaviour of \fBfputwc\fP() depends on the LC_CTYPE category of the The behaviour of \fBfputwc\fP() depends on the LC_CTYPE category of the
current locale. current locale.

View File

@ -31,7 +31,7 @@ For a non-locking counterpart, see
The \fBfputws\fP() function returns a nonnegative integer if the operation was The \fBfputws\fP() function returns a nonnegative integer if the operation was
successful, or \-1 to indicate an error. successful, or \-1 to indicate an error.
.SH "CONFORMING TO" .SH "CONFORMING TO"
ISO/ANSI C, UNIX98 ISO/ANSI C, POSIX.1-2001.
.SH NOTES .SH NOTES
The behaviour of \fBfputws\fP() depends on the LC_CTYPE category of the The behaviour of \fBfputws\fP() depends on the LC_CTYPE category of the
current locale. current locale.

View File

@ -91,11 +91,7 @@ and
.BR ferror (3) .BR ferror (3)
to determine which occurred. to determine which occurred.
.SH "CONFORMING TO" .SH "CONFORMING TO"
The functions C89, POSIX.1-2001.
.BR fread ()
and
.BR fwrite ()
conform to ANSI X3.159-1989 (``ANSI C'').
.SH "SEE ALSO" .SH "SEE ALSO"
.BR read (2), .BR read (2),
.BR write (2), .BR write (2),

View File

@ -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 1 (exclusive). If \fIx\fP is zero, then the normalized fraction is
zero and zero is stored in \fIexp\fP. zero and zero is stored in \fIexp\fP.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, POSIX, 4.3BSD, ISO 9899. SVr4, 4.3BSD, C89.
The float and the long double variants are C99 requirements. The float and the long double variants are C99 requirements.
.SH EXAMPLE .SH EXAMPLE
.nf .nf

View File

@ -158,14 +158,7 @@ for any of the errors specified for the routines
and and
.BR malloc (3). .BR malloc (3).
.SH "CONFORMING TO" .SH "CONFORMING TO"
The C89, C99.
.BR fgetpos (),
.BR fsetpos (),
.BR fseek (),
.BR ftell (),
and
.BR rewind ()
functions conform to ANSI X3.159-1989 (``ANSI C'').
.SH "SEE ALSO" .SH "SEE ALSO"
.BR lseek (2), .BR lseek (2),
.BR fseeko (3) .BR fseeko (3)

View File

@ -65,10 +65,6 @@ These functions are found on System V-like systems.
They are not present in libc4, libc5, glibc 2.0 They are not present in libc4, libc5, glibc 2.0
but are available since glibc 2.1. but are available since glibc 2.1.
.SH "CONFORMING TO" .SH "CONFORMING TO"
The SUSv2, POSIX.1-2001.
.BR fseeko ()
and
.BR ftello ()
functions conform to SUSv2.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR fseek (3) .BR fseek (3)

View File

@ -79,7 +79,7 @@ The
.BR ftime () .BR ftime ()
function appeared in 4.2BSD. function appeared in 4.2BSD.
.SH "CONFORMING TO" .SH "CONFORMING TO"
4.2BSD, POSIX 1003.1-2001. 4.2BSD, POSIX.1-2001.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR gettimeofday (2), .BR gettimeofday (2),
.BR time (2) .BR time (2)

View File

@ -66,7 +66,7 @@ indicating the error as for the
.BR stat (2) .BR stat (2)
system call. system call.
.SH "CONFORMING TO" .SH "CONFORMING TO"
XPG4 POSIX.1-2001.
.SH NOTES .SH NOTES
Under libc4 and libc5 (and under SunOS 4.x) the prototype was Under libc4 and libc5 (and under SunOS 4.x) the prototype was
.RS .RS

View File

@ -275,7 +275,7 @@ The function
.BR nftw () .BR nftw ()
and the use of \fBFTW_SL\fP with and the use of \fBFTW_SL\fP with
.BR ftw () .BR ftw ()
were introduced in XPG4v2. were introduced in SUSv1.
.LP .LP
On some systems On some systems
.BR ftw () .BR ftw ()
@ -296,7 +296,7 @@ is available since glibc 2.1.
\fBFTW_ACTIONRETVAL\fP is glibc specific. \fBFTW_ACTIONRETVAL\fP is glibc specific.
.SH "CONFORMING TO" .SH "CONFORMING TO"
POSIX.1-2001, SVID3, XPG4v2. POSIX.1-2001, SVr4, SUSv1.
.SH EXAMPLE .SH EXAMPLE
The following program traverses the directory tree under the path named The following program traverses the directory tree under the path named
in its first command-line argument, or under the current directory in its first command-line argument, or under the current directory

View File

@ -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 changing it. A return value > 0 means wide-character oriented. A return value
< 0 means byte oriented. A return value of zero means undecided. < 0 means byte oriented. A return value of zero means undecided.
.SH "CONFORMING TO" .SH "CONFORMING TO"
ISO/ANSI C, UNIX98 ISO/ANSI C, UNIX98, POSIX.1-2001.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR fprintf (3), .BR fprintf (3),
.BR fwprintf (3) .BR fwprintf (3)

View File

@ -47,6 +47,8 @@ is recommended.
.SH "RETURN VALUE" .SH "RETURN VALUE"
The \fBgcvt\fP() function returns the address of the string pointed to The \fBgcvt\fP() function returns the address of the string pointed to
by \fIbuf\fP. by \fIbuf\fP.
.SH "CONFORMING TO"
marked as LEGACY in POSIX.1-2001.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR ecvt (3), .BR ecvt (3),
.BR fcvt (3), .BR fcvt (3),

View File

@ -197,7 +197,7 @@ includes the
flag. flag.
.\" In glibc prior to 2.3.4, the ai_canonname of each addrinfo .\" In glibc prior to 2.3.4, the ai_canonname of each addrinfo
.\" structure was set pointing to the canonical name; that was .\" 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 .\" MTK, Aug 05
.IR ai_family , .IR ai_family ,
.IR ai_socktype , .IR ai_socktype ,
@ -352,7 +352,7 @@ The
function translates these error codes to a human readable string, function translates these error codes to a human readable string,
suitable for error reporting. suitable for error reporting.
.SH "CONFORMING TO" .SH "CONFORMING TO"
POSIX 1003.1-2003. POSIX.1-2001.
The The
.BR getaddrinfo () .BR getaddrinfo ()
function is documented in RFC\ 2553. function is documented in RFC\ 2553.

View File

@ -163,7 +163,7 @@ directory (".") and calling
to return is usually a faster and more reliable alternative when sufficiently to return is usually a faster and more reliable alternative when sufficiently
many file descriptors are available, especially on platforms other than Linux. many file descriptors are available, especially on platforms other than Linux.
.SH "CONFORMING TO" .SH "CONFORMING TO"
POSIX.1 POSIX.1-2001.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR chdir (2), .BR chdir (2),
.BR fchdir (2), .BR fchdir (2),

View File

@ -140,7 +140,7 @@ and in case of an error the return value is non-zero with the same
values as given above for values as given above for
.IR getdate_err . .IR getdate_err .
.LP .LP
The POSIX 1003.1-2001 specification for The POSIX.1-2001 specification for
.BR strptime () .BR strptime ()
contains conversion specifications using the contains conversion specifications using the
.B %E .B %E
@ -165,7 +165,7 @@ File containing format patterns.
.BR TZ ", " LC_TIME .BR TZ ", " LC_TIME
Variables used by \fBstrptime\fP(). Variables used by \fBstrptime\fP().
.SH "CONFORMING TO" .SH "CONFORMING TO"
ISO 9899, POSIX 1003.1-2001 POSIX.1-2001
.SH "SEE ALSO" .SH "SEE ALSO"
.BR localtime (3), .BR localtime (3),
.BR setlocale (3), .BR setlocale (3),

View File

@ -44,7 +44,7 @@ the form \fIname = value\fP.
The \fBgetenv\fP() function returns a pointer to the value in the The \fBgetenv\fP() function returns a pointer to the value in the
environment, or NULL if there is no match. environment, or NULL if there is no match.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, POSIX, 4.3BSD, ISO 9899 SVr4, POSIX.1-2001, 4.3BSD, C89
.SH "SEE ALSO" .SH "SEE ALSO"
.BR clearenv (3), .BR clearenv (3),
.BR putenv (3), .BR putenv (3),

View File

@ -104,7 +104,8 @@ The
.BR getfsent () .BR getfsent ()
function appeared in 4.0BSD; the other four functions appeared in 4.3BSD. function appeared in 4.0BSD; the other four functions appeared in 4.3BSD.
.SH "CONFORMING TO" .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 e.g., *BSD, SunOS, Digital Unix, AIX (which also has a
.BR getfstype ()). .BR getfstype ()).
HP-UX has functions of the same names, that however use a struct checklist HP-UX has functions of the same names, that however use a struct checklist

View File

@ -104,7 +104,7 @@ Insufficient buffer space supplied.
.I /etc/group .I /etc/group
local group database file local group database file
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, 4.3BSD, POSIX 1003.1-2003. SVr4, 4.3BSD, POSIX.1-2001.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR fgetgrent (3), .BR fgetgrent (3),
.BR getgrent_r (3), .BR getgrent_r (3),

View File

@ -158,9 +158,9 @@ Insufficient buffer space supplied.
.I /etc/group .I /etc/group
local group database file local group database file
.SH "CONFORMING TO" .SH "CONFORMING TO"
SVID 3, 4.3BSD, POSIX 1003.1-2003 SVr4, 4.3BSD, POSIX.1-2001
.SH NOTES .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 It does not call "not found" an error, hence does not specify what value
.I errno .I errno
might have in this situation. But that makes it impossible to recognize might have in this situation. But that makes it impossible to recognize

View File

@ -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 it overwrites memory when the actual number of groups is larger than
.RI * ngroups . .RI * ngroups .
.SH "CONFORMING TO" .SH "CONFORMING TO"
This function is non-standard; it appears on most BSDs.
.SH "VERSIONS"
This function is present since glibc 2.2.4. This function is present since glibc 2.2.4.
.SH EXAMPLE .SH EXAMPLE
.nf .nf

View File

@ -235,7 +235,7 @@ host database file
.I /etc/nsswitch.conf .I /etc/nsswitch.conf
name service switch configuration name service switch configuration
.SH "CONFORMING TO" .SH "CONFORMING TO"
4.3BSD. 4.3BSD, POSIX.1-2001.
.SH "SYSTEM V/POSIX EXTENSION" .SH "SYSTEM V/POSIX EXTENSION"
POSIX requires the POSIX requires the
.BR gethostent () .BR gethostent ()
@ -299,7 +299,8 @@ to be of type
.IR int , .IR int ,
and and
.I size_t .I size_t
is not. POSIX 1003.1-2001 makes it is not.
POSIX.1-2001 makes it
.IR socklen_t , .IR socklen_t ,
which is OK.) which is OK.)
.LP .LP
@ -309,7 +310,7 @@ uses
.I const char * .I const char *
for the first argument. for the first argument.
.LP .LP
POSIX 1003.1-2001 marks POSIX.1-2001 marks
.BR gethostbyaddr () .BR gethostbyaddr ()
and and
.BR gethostbyname () .BR gethostbyname ()

View File

@ -255,6 +255,7 @@ removed again. Several Unix-like systems support them, but all
call them deprecated. call them deprecated.
.SH "CONFORMING TO" .SH "CONFORMING TO"
RFC\ 2553. RFC\ 2553.
.\" Not in POSIX.1-2001.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR getaddrinfo (3), .BR getaddrinfo (3),
.BR getnameinfo (3), .BR getnameinfo (3),

View File

@ -107,9 +107,17 @@ Insufficient memory to allocate passwd structure.
some libc versions used \fI/var/adm/utmp\fP) some libc versions used \fI/var/adm/utmp\fP)
.fi .fi
.SH "CONFORMING TO" .SH "CONFORMING TO"
POSIX.1. System V has a \fBcuserid\fP() function which uses the real .BR getlogin ()
user ID rather than the effective user ID. The \fBcuserid\fP() function and
was included in the 1988 version of POSIX, but removed from the 1990 version. .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 .LP
OpenBSD has \fBgetlogin\fP() and \fBsetlogin\fP(), and a username OpenBSD has \fBgetlogin\fP() and \fBsetlogin\fP(), and a username
associated with a session, even if it has no controlling tty. associated with a session, even if it has no controlling tty.
@ -124,11 +132,14 @@ Avoid
.BR getlogin () .BR getlogin ()
for security-related purposes. for security-related purposes.
.LP .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 instead of
.IR /dev/tty . .IR /dev/tty .
A bug. (Other recent systems, like SunOS 5.8 and HPUX 11.11 and FreeBSD 4.8 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 stdin is redirected.) all return the login name also when
.I stdin
is redirected.)
.LP .LP
Nobody knows precisely what Nobody knows precisely what
.BR cuserid () .BR cuserid ()

View File

@ -134,8 +134,8 @@ a match is found and NULL otherwise.
The non-reentrant functions are from SunOS 4.1.3. The non-reentrant functions are from SunOS 4.1.3.
A routine A routine
.BR getmntent_r () .BR getmntent_r ()
was introduced in HPUX 10, but it returns an int. The prototype was introduced in HP-UX 10, but it returns an int.
shown above is glibc-only. The prototype shown above is glibc-only.
LSB deprecates the functions LSB deprecates the functions
.BR endhostent (), .BR endhostent (),
.BR sethostent () .BR sethostent ()

Some files were not shown because too many files have changed in this diff Show More