diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2006-12-16 22:11:08 +0000 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2006-12-16 22:11:08 +0000 |
commit | 1eb85d1484ae4418b2e740c0e82eeead3959bdd6 (patch) | |
tree | 273bf9a4c337673188df59cfa2de60fbaab01524 | |
parent | 9110c53a81742fb568a2e234756b3c3c56005350 (diff) |
Updated various header pages to accurately reflect which functions
are and are not part of C89. Also fixed/improved a few other
CONFORMING TO entries.
-rw-r--r-- | man2/rename.2 | 2 | ||||
-rw-r--r-- | man2/signal.2 | 2 | ||||
-rw-r--r-- | man2/time.2 | 2 | ||||
-rw-r--r-- | man3/abort.3 | 2 | ||||
-rw-r--r-- | man3/acos.3 | 2 | ||||
-rw-r--r-- | man3/asin.3 | 2 | ||||
-rw-r--r-- | man3/bsearch.3 | 2 | ||||
-rw-r--r-- | man3/ctime.3 | 9 | ||||
-rw-r--r-- | man3/difftime.3 | 2 | ||||
-rw-r--r-- | man3/exit.3 | 2 | ||||
-rw-r--r-- | man3/exp.3 | 2 | ||||
-rw-r--r-- | man3/ferror.3 | 2 | ||||
-rw-r--r-- | man3/floor.3 | 2 | ||||
-rw-r--r-- | man3/fopen.3 | 2 | ||||
-rw-r--r-- | man3/getenv.3 | 2 | ||||
-rw-r--r-- | man3/isalpha.3 | 2 | ||||
-rw-r--r-- | man3/localeconv.3 | 2 | ||||
-rw-r--r-- | man3/longjmp.3 | 3 | ||||
-rw-r--r-- | man3/memchr.3 | 2 | ||||
-rw-r--r-- | man3/memcmp.3 | 2 | ||||
-rw-r--r-- | man3/memcpy.3 | 2 | ||||
-rw-r--r-- | man3/memmove.3 | 2 | ||||
-rw-r--r-- | man3/memset.3 | 2 | ||||
-rw-r--r-- | man3/offsetof.3 | 2 | ||||
-rw-r--r-- | man3/perror.3 | 2 | ||||
-rw-r--r-- | man3/qsort.3 | 2 | ||||
-rw-r--r-- | man3/remove.3 | 2 | ||||
-rw-r--r-- | man3/setjmp.3 | 3 | ||||
-rw-r--r-- | man3/setlocale.3 | 2 | ||||
-rw-r--r-- | man3/strchr.3 | 3 | ||||
-rw-r--r-- | man3/strcoll.3 | 2 | ||||
-rw-r--r-- | man3/strerror.3 | 3 | ||||
-rw-r--r-- | man3/strpbrk.3 | 2 | ||||
-rw-r--r-- | man3/strtok.3 | 2 | ||||
-rw-r--r-- | man3/strtol.3 | 2 | ||||
-rw-r--r-- | man3/strtoul.3 | 2 | ||||
-rw-r--r-- | man3/strxfrm.3 | 2 | ||||
-rw-r--r-- | man3/ungetwc.3 | 2 |
38 files changed, 50 insertions, 37 deletions
diff --git a/man2/rename.2 b/man2/rename.2 index 9578d9b2..f38157ec 100644 --- a/man2/rename.2 +++ b/man2/rename.2 @@ -197,7 +197,7 @@ are not on the same mounted filesystem. does not work across different mount points, even if the same filesystem is mounted on both.) .SH "CONFORMING TO" -4.3BSD, C89, POSIX.1-2001. +4.3BSD, C89, C99, POSIX.1-2001. .SH BUGS On NFS filesystems, you can not assume that if the operation failed the file was not renamed. If the server does the rename operation diff --git a/man2/signal.2 b/man2/signal.2 index 4b04ebf7..503183ac 100644 --- a/man2/signal.2 +++ b/man2/signal.2 @@ -280,7 +280,7 @@ and, when is defined, also .IR sighandler_t . .SH "CONFORMING TO" -C89, POSIX.1-2001. +C89, C99, POSIX.1-2001. .SH "SEE ALSO" .BR kill (1), .BR alarm (2), diff --git a/man2/time.2 b/man2/time.2 index e0d59897..9a093b96 100644 --- a/man2/time.2 +++ b/man2/time.2 @@ -64,7 +64,7 @@ required to be synchronised to a standard reference. The intention is that the interpretation of seconds since the Epoch values be consistent; see POSIX.1 Annex B 2.2.2 for further rationale. .SH "CONFORMING TO" -SVr4, 4.3BSD, POSIX.1-2001. +SVr4, 4.3BSD, C89, C99, POSIX.1-2001. .br Under 4.3BSD, this call is obsoleted by .BR gettimeofday (2). diff --git a/man3/abort.3 b/man3/abort.3 index ac8ec617..5ac85ffc 100644 --- a/man3/abort.3 +++ b/man3/abort.3 @@ -47,7 +47,7 @@ function will still override it. .SH "RETURN VALUE" The \fBabort\fP() function never returns. .SH "CONFORMING TO" -SVr4, POSIX.1-2001, 4.3BSD, C99 +SVr4, POSIX.1-2001, 4.3BSD, C89, C99 .SH "SEE ALSO" .BR sigaction (2), .BR exit (3), diff --git a/man3/acos.3 b/man3/acos.3 index ec1fc5ae..f24e2f1b 100644 --- a/man3/acos.3 +++ b/man3/acos.3 @@ -53,7 +53,7 @@ value is mathematically defined to be between 0 and PI (inclusive). .B EDOM \fIx\fP is out of range. .SH "CONFORMING TO" -SVr4, POSIX.1-2001, 4.3BSD, C89. +SVr4, POSIX.1-2001, 4.3BSD, C89, C99. The .I float and diff --git a/man3/asin.3 b/man3/asin.3 index 212bdfc1..f5025a0c 100644 --- a/man3/asin.3 +++ b/man3/asin.3 @@ -56,7 +56,7 @@ value is mathematically defined to be between \-PI/2 and PI/2 .B EDOM \fIx\fP is out of range. .SH "CONFORMING TO" -SVr4, POSIX.1-2001, 4.3BSD, C89. +SVr4, POSIX.1-2001, 4.3BSD, C89, C99. The .I float and diff --git a/man3/bsearch.3 b/man3/bsearch.3 index b321f628..d7476416 100644 --- a/man3/bsearch.3 +++ b/man3/bsearch.3 @@ -102,7 +102,7 @@ int main(int argc, char **argv) { .fi .\" this example referred to in qsort.3 .SH "CONFORMING TO" -SVr4, 4.3BSD, POSIX.1-2001, C99 +SVr4, 4.3BSD, POSIX.1-2001, C89, C99 .SH "SEE ALSO" .BR hsearch (3), .BR lsearch (3), diff --git a/man3/ctime.3 b/man3/ctime.3 index f1e28103..a6860d6f 100644 --- a/man3/ctime.3 +++ b/man3/ctime.3 @@ -220,7 +220,14 @@ defined when _BSD_SOURCE was set before including .IR <time.h> . This is a BSD extension, present in 4.3BSD-Reno. .SH "CONFORMING TO" -SVr4, POSIX.1-2001, 4.3BSD, C89, C99. +POSIX.1-2001. +C89 and C99 specify +.BR asctime (), +.BR ctime (), +.BR gmtime (), +.BR localtime (), +and +.BR mktime () .SH "SEE ALSO" .BR date (1), .BR gettimeofday (2), diff --git a/man3/difftime.3 b/man3/difftime.3 index 166e7dd6..4da5792d 100644 --- a/man3/difftime.3 +++ b/man3/difftime.3 @@ -41,7 +41,7 @@ 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" -SVr4, 4.3BSD, C99 +SVr4, 4.3BSD, C89, C99 .SH NOTES On a POSIX system, .I time_t diff --git a/man3/exit.3 b/man3/exit.3 index fc4c2faa..2a7870f9 100644 --- a/man3/exit.3 +++ b/man3/exit.3 @@ -54,7 +54,7 @@ termination, respectively. .SH "RETURN VALUE" The \fBexit\fP() function does not return. .SH "CONFORMING TO" -SVr4, 4.3BSD, POSIX.1-2001. +SVr4, 4.3BSD, POSIX.1-2001, C89, C99. .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" -SVr4, 4.3BSD, C89, POSIX.1-2001. +SVr4, 4.3BSD, C89, C99, POSIX.1-2001. The .I float and diff --git a/man3/ferror.3 b/man3/ferror.3 index 214d990b..ec014fbd 100644 --- a/man3/ferror.3 +++ b/man3/ferror.3 @@ -99,7 +99,7 @@ The functions .BR feof (), and .BR ferror () -conform to C89. +conform to C89 and C99. .SH "SEE ALSO" .BR open (2), .BR fdopen (3), diff --git a/man3/floor.3 b/man3/floor.3 index 6c742b65..1520b840 100644 --- a/man3/floor.3 +++ b/man3/floor.3 @@ -59,7 +59,7 @@ of mantissa bits is 24 (resp. 53).) .SH "CONFORMING TO" The .BR floor () -function conforms to SVr4, 4.3BSD, ISO C89. +function conforms to SVr4, 4.3BSD, C89. The other functions are from C99. .SH "SEE ALSO" .BR ceil (3), diff --git a/man3/fopen.3 b/man3/fopen.3 index fc3125b3..a82ecc1e 100644 --- a/man3/fopen.3 +++ b/man3/fopen.3 @@ -227,7 +227,7 @@ The and .BR freopen () functions conform to C89. - The +The .BR fdopen () function conforms to POSIX.1-1990. .SH "GLIBC EXTENSIONS" diff --git a/man3/getenv.3 b/man3/getenv.3 index 3b449729..de2a8b68 100644 --- a/man3/getenv.3 +++ b/man3/getenv.3 @@ -44,7 +44,7 @@ the form \fIname = value\fP. The \fBgetenv\fP() function returns a pointer to the value in the environment, or NULL if there is no match. .SH "CONFORMING TO" -SVr4, POSIX.1-2001, 4.3BSD, C89 +SVr4, POSIX.1-2001, 4.3BSD, C89, C99. .SH "SEE ALSO" .BR clearenv (3), .BR putenv (3), diff --git a/man3/isalpha.3 b/man3/isalpha.3 index 213128d6..68546a22 100644 --- a/man3/isalpha.3 +++ b/man3/isalpha.3 @@ -141,6 +141,8 @@ falls into the tested class, and a zero value if not. .SH "CONFORMING TO" C99, 4.3BSD. +C89 specifies all of these functions except \fBisascii\fP() and +\fBisblank\fP(). \fBisascii\fP() is a BSD extension and is also an SVr4 extension. \fBisblank\fP() conforms to POSIX.1-2001 and C99 7.4.1.3. diff --git a/man3/localeconv.3 b/man3/localeconv.3 index 6434dd3f..2f93eae6 100644 --- a/man3/localeconv.3 +++ b/man3/localeconv.3 @@ -47,7 +47,7 @@ and .BR strfmon (3), which behave according to the actual locale in use. .SH "CONFORMING TO" -C99 +C89, C99. .SH BUGS The .BR printf () diff --git a/man3/longjmp.3 b/man3/longjmp.3 index 2f8cfb8a..70699adc 100644 --- a/man3/longjmp.3 +++ b/man3/longjmp.3 @@ -52,7 +52,8 @@ restores the set of blocked signals. .SH "RETURN VALUE" These functions never return. .SH "CONFORMING TO" -POSIX.1-2001. +C89, C99, and POSIX.1-2001 specify \fBlongjmp\fP(). +POSIX.1-2001 specifies \fBsiglongjmp\fP(). .SH NOTES POSIX does not specify whether \fBlongjmp\fP() will restore the signal context. If you want to save and restore signal masks, use diff --git a/man3/memchr.3 b/man3/memchr.3 index fed8eac7..556539ae 100644 --- a/man3/memchr.3 +++ b/man3/memchr.3 @@ -56,7 +56,7 @@ the given memory area. .SH "CONFORMING TO" The .BR memchr () -function conforms to SVr4, 4.3BSD, C99. +function conforms to SVr4, 4.3BSD, C89, C99, POSIX.1-2001. The .BR memrchr () function is a GNU extension, available since glibc 2.1.91. diff --git a/man3/memcmp.3 b/man3/memcmp.3 index 2e47e89d..83a6c34c 100644 --- a/man3/memcmp.3 +++ b/man3/memcmp.3 @@ -45,7 +45,7 @@ greater than zero if the first \fIn\fP bytes of \fIs1\fP is found, respectively, to be less than, to match, or be greater than the first \fIn\fP bytes of \fIs2\fP. .SH "CONFORMING TO" -SVr4, 4.3BSD, C99 +SVr4, 4.3BSD, C89, C99, POSIX.1-2001. .SH "SEE ALSO" .BR bcmp (3), .BR strcasecmp (3), diff --git a/man3/memcpy.3 b/man3/memcpy.3 index ed23e64d..d2aa9761 100644 --- a/man3/memcpy.3 +++ b/man3/memcpy.3 @@ -41,7 +41,7 @@ overlap. Use \fBmemmove\fP(3) if the memory areas do overlap. .SH "RETURN VALUE" The \fBmemcpy\fP() function returns a pointer to \fIdest\fP. .SH "CONFORMING TO" -SVr4, 4.3BSD, C99 +SVr4, 4.3BSD, C89, C99, POSIX.1-2001. .SH "SEE ALSO" .BR bcopy (3), .BR memccpy (3), diff --git a/man3/memmove.3 b/man3/memmove.3 index 8b8d4d4f..ed795c69 100644 --- a/man3/memmove.3 +++ b/man3/memmove.3 @@ -40,7 +40,7 @@ The \fBmemmove\fP() function copies \fIn\fP bytes from memory area .SH "RETURN VALUE" The \fBmemmove\fP() function returns a pointer to \fIdest\fP. .SH "CONFORMING TO" -SVr4, 4.3BSD, C99. +SVr4, 4.3BSD, C89, C99, POSIX.1-2001. .SH "SEE ALSO" .BR bcopy (3), .BR memccpy (3), diff --git a/man3/memset.3 b/man3/memset.3 index 8fd75aad..663b5828 100644 --- a/man3/memset.3 +++ b/man3/memset.3 @@ -41,7 +41,7 @@ memory area pointed to by \fIs\fP with the constant byte \fIc\fP. The \fBmemset\fP() function returns a pointer to the memory area \fIs\fP. .SH "CONFORMING TO" -SVr4, 4.3BSD, C99. +SVr4, 4.3BSD, C89, C99, POSIX.1-2001. .SH "SEE ALSO" .BR bzero (3), .BR swab (3), diff --git a/man3/offsetof.3 b/man3/offsetof.3 index 9049952a..516abd99 100644 --- a/man3/offsetof.3 +++ b/man3/offsetof.3 @@ -84,7 +84,7 @@ int main() } .fi .SH "CONFORMING TO" -POSIX.1-2001. +C99, POSIX.1-2001. .\" .SH SEE ALSO .\" FIXME . When one day readdir_r(3) is documented, it should have .\" a SEE ALSO that refers to this page. diff --git a/man3/perror.3 b/man3/perror.3 index f38ea93b..2ecf4caf 100644 --- a/man3/perror.3 +++ b/man3/perror.3 @@ -101,7 +101,7 @@ and the external .I errno (see .BR errno (3)) -conform to C89, 4.3BSD, POSIX.1-2001. +conform to C89, C99, 4.3BSD, POSIX.1-2001. The externals .I sys_nerr and diff --git a/man3/qsort.3 b/man3/qsort.3 index 056f5264..3be3ddec 100644 --- a/man3/qsort.3 +++ b/man3/qsort.3 @@ -57,7 +57,7 @@ as equal, their order in the sorted array is undefined. .SH "RETURN VALUE" The \fBqsort\fP() function returns no value. .SH "CONFORMING TO" -SVr4, 4.3BSD, C99. +SVr4, 4.3BSD, C89, C99. .SH NOTE Library routines suitable for use as the .I compar diff --git a/man3/remove.3 b/man3/remove.3 index 91c967d5..ae654268 100644 --- a/man3/remove.3 +++ b/man3/remove.3 @@ -67,7 +67,7 @@ The errors that occur are those for and .BR rmdir (2). .SH "CONFORMING TO" -C89, 4.3BSD, POSIX.1-2001. +C89, C99, 4.3BSD, POSIX.1-2001. .SH BUGS Infelicities in the protocol underlying NFS can cause the unexpected disappearance of files which are still being used. diff --git a/man3/setjmp.3 b/man3/setjmp.3 index b630df3b..c9a444a3 100644 --- a/man3/setjmp.3 +++ b/man3/setjmp.3 @@ -49,7 +49,8 @@ if a \fBsiglongjmp\fP() is later performed with this \fIenv\fP. \fBsetjmp\fP() and \fBsigsetjmp\fP() return 0 if returning directly, and non-zero when returning from \fBlongjmp\fP() using the saved context. .SH "CONFORMING TO" -POSIX.1-2001, C99 +C89, C99, and POSIX.1-2001 specify \fBsetjmp\fP(). +POSIX.1-2001 specifies \fBsigsetjmp\fP(). .SH NOTES POSIX does not specify whether \fBsetjmp\fP() will save the signal context. (In System V it will not. In 4.3BSD it will, and there diff --git a/man3/setlocale.3 b/man3/setlocale.3 index 550f4460..35c2d086 100644 --- a/man3/setlocale.3 +++ b/man3/setlocale.3 @@ -162,7 +162,7 @@ and its associated category will restore that part of the process's locale. The return value is NULL if the request cannot be honored. .SH "CONFORMING TO" -C99, POSIX.1-2001. +C89, C99, POSIX.1-2001. .SH NOTES Linux (that is, GNU libc) supports the portable locales .BR """C""" " and " """POSIX""" . diff --git a/man3/strchr.3 b/man3/strchr.3 index b96d662b..7179be2d 100644 --- a/man3/strchr.3 +++ b/man3/strchr.3 @@ -68,7 +68,8 @@ or a pointer to the null byte at the end of \fIs\fP (i.e., \fIs+strlen(s)\fP) if the character is not found. .SH "CONFORMING TO" -SVr4, 4.3BSD, C89, C99. +\fBstrchr\fP() and \fBstrrchr\fP() are in SVr4, 4.3BSD, C89, C99. +\fBstrchrnul\fP() is a GNU extension. .SH "SEE ALSO" .BR index (3), .BR memchr (3), diff --git a/man3/strcoll.3 b/man3/strcoll.3 index 3d7f2668..1826bd20 100644 --- a/man3/strcoll.3 +++ b/man3/strcoll.3 @@ -47,7 +47,7 @@ or greater than zero if \fIs1\fP is found, respectively, to be less than, to match, or be greater than \fIs2\fP, when both are interpreted as appropriate for the current locale. .SH "CONFORMING TO" -SVr4, 4.3BSD, C99. +SVr4, 4.3BSD, C89, C99. .SH NOTES In the \fI"POSIX"\fP or \fI"C"\fP locales \fBstrcoll\fP() is equivalent to \fBstrcmp\fP(). diff --git a/man3/strerror.3 b/man3/strerror.3 index 6a0e31c8..ae14a32b 100644 --- a/man3/strerror.3 +++ b/man3/strerror.3 @@ -115,7 +115,8 @@ is not a valid error number. Insufficient storage was supplied to contain the error description string. .SH "CONFORMING TO" -POSIX.1-2001, C99. +\fBstrerror\fP() is specified by POSIX.1-2001, C89, C99. +\fBstrerror_r\fP() is specified by POSIX.1-2001. The GNU-specific .BR strerror_r () diff --git a/man3/strpbrk.3 b/man3/strpbrk.3 index 41a5bbaf..dcc42e24 100644 --- a/man3/strpbrk.3 +++ b/man3/strpbrk.3 @@ -42,7 +42,7 @@ The \fBstrpbrk\fP() function returns a pointer to the character in \fIs\fP that matches one of the characters in \fIaccept\fP, or NULL if no such character is found. .SH "CONFORMING TO" -SVr4, 4.3BSD, C99. +SVr4, 4.3BSD, C89, C99. .SH "SEE ALSO" .BR index (3), .BR memchr (3), diff --git a/man3/strtok.3 b/man3/strtok.3 index 3332f6e9..4127e80e 100644 --- a/man3/strtok.3 +++ b/man3/strtok.3 @@ -163,7 +163,7 @@ the next token, or NULL if there are no more tokens. .SH "CONFORMING TO" .TP .BR strtok () -SVr4, POSIX.1-2001, 4.3BSD, C89. +SVr4, POSIX.1-2001, 4.3BSD, C89, C99. .TP .BR strtok_r () POSIX.1-2001 diff --git a/man3/strtol.3 b/man3/strtol.3 index ab394c0e..41e11277 100644 --- a/man3/strtol.3 +++ b/man3/strtol.3 @@ -128,7 +128,7 @@ or to .BR strtol (). .SH "CONFORMING TO" .BR strtol () -conforms to SVr4, 4.3BSD, C99 and POSIX.1-2001, and +conforms to SVr4, 4.3BSD, C89, C99 and POSIX.1-2001, and .BR strtoll () to C99 and POSIX.1-2001. .SH EXAMPLE diff --git a/man3/strtoul.3 b/man3/strtoul.3 index 4e6820c1..f0eff87d 100644 --- a/man3/strtoul.3 +++ b/man3/strtoul.3 @@ -133,7 +133,7 @@ Negative values are considered valid input and are silently converted to the equivalent unsigned long value. .SH "CONFORMING TO" .BR strtoul () -conforms to SVr4, C99 and POSIX-2001, and +conforms to SVr4, C89, C99 and POSIX-2001, and .BR strtoull () to C99 and POSIX.1-2001. .SH EXAMPLE diff --git a/man3/strxfrm.3 b/man3/strxfrm.3 index b2774acc..ba63964e 100644 --- a/man3/strxfrm.3 +++ b/man3/strxfrm.3 @@ -48,7 +48,7 @@ store the transformed string in \fIdest\fP excluding the terminating `\\0' character. If the value returned is \fIn\fP or more, the contents of \fIdest\fP are indeterminate. .SH "CONFORMING TO" -SVr4, 4.3BSD, C99 +SVr4, 4.3BSD, C89, C99 .SH NOTES In the \fI"POSIX"\fP or \fI"C"\fP locales \fBstrxfrm\fP() is equivalent to copying the string with \fBstrncpy\fP(). diff --git a/man3/ungetwc.3 b/man3/ungetwc.3 index c2e4546a..143ef6f6 100644 --- a/man3/ungetwc.3 +++ b/man3/ungetwc.3 @@ -42,7 +42,7 @@ level of push-back is guaranteed. The \fBungetwc\fP() function returns \fIwc\fP when successful, or WEOF upon failure. .SH "CONFORMING TO" -C89. +C99. .SH "SEE ALSO" .BR fgetwc (3) .SH NOTES |