mirror of https://github.com/mkerrisk/man-pages
Updated CONFORMING TO section
This commit is contained in:
parent
97c1eac86f
commit
68e1685c25
|
@ -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 ,
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 ()
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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 ()
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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 (),
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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> .
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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(),
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 :
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 ()
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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 ()
|
||||
|
|
|
@ -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 ()
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue