diff options
88 files changed, 134 insertions, 89 deletions
diff --git a/man2/rename.2 b/man2/rename.2 index 08e7958f32..5007ef6b65 100644 --- a/man2/rename.2 +++ b/man2/rename.2 @@ -497,7 +497,7 @@ library support was added in glibc 2.4. was added in Linux 3.15; library support was added in glibc 2.28. .SH STANDARDS .BR rename (): -4.3BSD, C99, POSIX.1-2001, POSIX.1-2008. +4.3BSD, C89, C99, POSIX.1-2001, POSIX.1-2008. .PP .BR renameat (): POSIX.1-2008. diff --git a/man2/signal.2 b/man2/signal.2 index b21abc3b88..d340c734b0 100644 --- a/man2/signal.2 +++ b/man2/signal.2 @@ -94,7 +94,7 @@ is set to indicate the error. .I signum is invalid. .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99. +POSIX.1-2001, POSIX.1-2008, C89, C99. .SH NOTES The effects of .BR signal () diff --git a/man2/time.2 b/man2/time.2 index 57558c9aaa..2be79cf782 100644 --- a/man2/time.2 +++ b/man2/time.2 @@ -48,7 +48,7 @@ an invalid address may instead trigger a .B SIGSEGV signal. .SH STANDARDS -SVr4, 4.3BSD, C99, POSIX.1-2001. +SVr4, 4.3BSD, C89, C99, POSIX.1-2001. .\" Under 4.3BSD, this call is obsoleted by .\" .BR gettimeofday (2). POSIX does not specify any error conditions. diff --git a/man3/abort.3 b/man3/abort.3 index ddc0ed5368..b0570585d0 100644 --- a/man3/abort.3 +++ b/man3/abort.3 @@ -69,7 +69,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -SVr4, POSIX.1-2001, POSIX.1-2008, 4.3BSD, C99. +SVr4, POSIX.1-2001, POSIX.1-2008, 4.3BSD, C89, C99. .SH NOTES Up until glibc 2.26, if the diff --git a/man3/abs.3 b/man3/abs.3 index 06eb12c560..a1293f3856 100644 --- a/man3/abs.3 +++ b/man3/abs.3 @@ -77,6 +77,19 @@ T} Thread safety MT-Safe .sp 1 .SH STANDARDS POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +.\" POSIX.1 (1996 edition) requires only the +.\" .BR abs () +.\" function. +C89 only +includes the +.BR abs () +and +.BR labs () +functions; the functions +.BR llabs () +and +.BR imaxabs () +were added in C99. .SH NOTES Trying to take the absolute value of the most negative integer is not defined. diff --git a/man3/acos.3 b/man3/acos.3 index 1628f81254..15466bb20f 100644 --- a/man3/acos.3 +++ b/man3/acos.3 @@ -111,7 +111,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH SEE ALSO .BR asin (3), .BR atan (3), diff --git a/man3/asin.3 b/man3/asin.3 index 76284ed919..e2cbfe96ec 100644 --- a/man3/asin.3 +++ b/man3/asin.3 @@ -107,7 +107,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH SEE ALSO .BR acos (3), .BR atan (3), diff --git a/man3/assert.3 b/man3/assert.3 index dfb4763991..0e0418e6f6 100644 --- a/man3/assert.3 +++ b/man3/assert.3 @@ -74,7 +74,14 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99. +POSIX.1-2001, POSIX.1-2008, C89, C99. +In C89, +.I expression +is required to be of type +.I int +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 .BR assert () is implemented as a macro; if the expression tested has side-effects, diff --git a/man3/atan.3 b/man3/atan.3 index e163db539c..f95bc073cf 100644 --- a/man3/atan.3 +++ b/man3/atan.3 @@ -92,7 +92,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH SEE ALSO .BR acos (3), .BR asin (3), diff --git a/man3/atan2.3 b/man3/atan2.3 index 1862094959..e4284d3434 100644 --- a/man3/atan2.3 +++ b/man3/atan2.3 @@ -164,7 +164,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH SEE ALSO .BR acos (3), .BR asin (3), diff --git a/man3/atexit.3 b/man3/atexit.3 index 3afdcf1b06..363124cc5a 100644 --- a/man3/atexit.3 +++ b/man3/atexit.3 @@ -76,7 +76,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .SH NOTES Functions registered using .BR atexit () diff --git a/man3/atof.3 b/man3/atof.3 index 913060cbda..22d1c50da5 100644 --- a/man3/atof.3 +++ b/man3/atof.3 @@ -58,7 +58,7 @@ T} Thread safety MT-Safe locale .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .SH SEE ALSO .BR atoi (3), .BR atol (3), diff --git a/man3/atoi.3 b/man3/atoi.3 index ca7c9fe279..10cc66ebae 100644 --- a/man3/atoi.3 +++ b/man3/atoi.3 @@ -85,6 +85,12 @@ T} Thread safety MT-Safe locale .sp 1 .SH STANDARDS POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +C89 and +POSIX.1-1996 include the functions +.BR atoi () +and +.BR atol () +only. .\" .SH NOTES .\" Linux libc provided .\" .BR atoq () diff --git a/man3/bsearch.3 b/man3/bsearch.3 index 790b0b7d92..d27a574755 100644 --- a/man3/bsearch.3 +++ b/man3/bsearch.3 @@ -78,7 +78,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .SH EXAMPLES The example below first sorts an array of structures using .BR qsort (3), diff --git a/man3/ceil.3 b/man3/ceil.3 index acad6fc58d..3957c514d7 100644 --- a/man3/ceil.3 +++ b/man3/ceil.3 @@ -79,7 +79,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH NOTES SUSv2 and POSIX.1-2001 contain text about overflow (which might set .I errno diff --git a/man3/clock.3 b/man3/clock.3 index 488b94e5b1..49d92238c3 100644 --- a/man3/clock.3 +++ b/man3/clock.3 @@ -49,7 +49,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99. +POSIX.1-2001, POSIX.1-2008, C89, C99. XSI requires that .B CLOCKS_PER_SEC equals 1000000 independent diff --git a/man3/ctime.3 b/man3/ctime.3 index b94e66bd6d..31f3e66db2 100644 --- a/man3/ctime.3 +++ b/man3/ctime.3 @@ -302,7 +302,7 @@ T} .sp 1 .SH STANDARDS POSIX.1-2001. -C99 specifies +C89 and C99 specify .BR asctime (), .BR ctime (), .BR gmtime (), diff --git a/man3/difftime.3 b/man3/difftime.3 index b85254cd03..051800888f 100644 --- a/man3/difftime.3 +++ b/man3/difftime.3 @@ -47,7 +47,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .SH NOTES On a POSIX system, .I time_t diff --git a/man3/div.3 b/man3/div.3 index 375435dd92..29b9493a25 100644 --- a/man3/div.3 +++ b/man3/div.3 @@ -85,7 +85,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. The functions .BR lldiv () and diff --git a/man3/exit.3 b/man3/exit.3 index 8853358467..d94ac6eb73 100644 --- a/man3/exit.3 +++ b/man3/exit.3 @@ -94,7 +94,7 @@ The function uses a global variable that is not protected, so it is not thread-safe. .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .SH NOTES The behavior is undefined if one of the functions registered using .BR atexit (3) diff --git a/man3/exp.3 b/man3/exp.3 index 3bd2874de4..d8d49da5e3 100644 --- a/man3/exp.3 +++ b/man3/exp.3 @@ -124,7 +124,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH SEE ALSO .BR cbrt (3), .BR cexp (3), diff --git a/man3/fabs.3 b/man3/fabs.3 index a3febcfbb5..ccb41d0a6c 100644 --- a/man3/fabs.3 +++ b/man3/fabs.3 @@ -83,7 +83,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH SEE ALSO .BR abs (3), .BR cabs (3), diff --git a/man3/fclose.3 b/man3/fclose.3 index 2c55efa690..213e36bb76 100644 --- a/man3/fclose.3 +++ b/man3/fclose.3 @@ -83,7 +83,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99. +POSIX.1-2001, POSIX.1-2008, C89, C99. .SH NOTES Note that .BR fclose () diff --git a/man3/ferror.3 b/man3/ferror.3 index cf9ed16455..9d9ebe23a6 100644 --- a/man3/ferror.3 +++ b/man3/ferror.3 @@ -93,7 +93,7 @@ The functions .BR feof (), and .BR ferror () -conform to C99, POSIX.1-2001, and POSIX.1-2008. +conform to C89, C99, POSIX.1-2001, and POSIX.1-2008. .SH NOTES POSIX.1-2008 specifies .\"https://www.austingroupbugs.net/view.php?id=401 diff --git a/man3/fflush.3 b/man3/fflush.3 index 2830824aba..927ff8b2b0 100644 --- a/man3/fflush.3 +++ b/man3/fflush.3 @@ -91,7 +91,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -C99, POSIX.1-2001, POSIX.1-2008. +C89, C99, POSIX.1-2001, POSIX.1-2008. .PP POSIX.1-2001 did not specify the behavior for flushing of input streams, but the behavior is specified in POSIX.1-2008. diff --git a/man3/fgetc.3 b/man3/fgetc.3 index 0c124a280a..75bb9231b2 100644 --- a/man3/fgetc.3 +++ b/man3/fgetc.3 @@ -126,7 +126,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99. +POSIX.1-2001, POSIX.1-2008, C89, C99. .PP It is not advisable to mix calls to input functions from the .I stdio diff --git a/man3/floor.3 b/man3/floor.3 index c0fdc3b824..1be5bc0944 100644 --- a/man3/floor.3 +++ b/man3/floor.3 @@ -78,7 +78,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH NOTES SUSv2 and POSIX.1-2001 contain text about overflow (which might set .I errno diff --git a/man3/fmod.3 b/man3/fmod.3 index 2f40ded1e1..5c9c2be381 100644 --- a/man3/fmod.3 +++ b/man3/fmod.3 @@ -142,7 +142,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH BUGS Before glibc 2.10, the glibc implementation did not set .\" http://sources.redhat.com/bugzilla/show_bug.cgi?id=6784 diff --git a/man3/fopen.3 b/man3/fopen.3 index 910762b238..2cdaa387ce 100644 --- a/man3/fopen.3 +++ b/man3/fopen.3 @@ -291,7 +291,7 @@ T} Thread safety MT-Safe .SH STANDARDS .BR fopen (), .BR freopen (): -POSIX.1-2001, POSIX.1-2008, C99. +POSIX.1-2001, POSIX.1-2008, C89, C99. .PP .BR fdopen (): POSIX.1-2001, POSIX.1-2008. diff --git a/man3/fread.3 b/man3/fread.3 index de609dc244..160ea5f448 100644 --- a/man3/fread.3 +++ b/man3/fread.3 @@ -98,7 +98,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99. +POSIX.1-2001, POSIX.1-2008, C89. .SH EXAMPLES The program below demonstrates the use of .BR fread () diff --git a/man3/frexp.3 b/man3/frexp.3 index 862d8f3e7a..8a36927104 100644 --- a/man3/frexp.3 +++ b/man3/frexp.3 @@ -102,7 +102,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH EXAMPLES The program below produces results such as the following: .PP diff --git a/man3/fseek.3 b/man3/fseek.3 index dc98280e24..7c211a8de0 100644 --- a/man3/fseek.3 +++ b/man3/fseek.3 @@ -172,7 +172,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99. +POSIX.1-2001, POSIX.1-2008, C89, C99. .SH SEE ALSO .BR lseek (2), .BR fseeko (3) diff --git a/man3/getenv.3 b/man3/getenv.3 index b9f9ed2c2d..51918a9556 100644 --- a/man3/getenv.3 +++ b/man3/getenv.3 @@ -98,7 +98,7 @@ T} Thread safety MT-Safe env .sp 1 .SH STANDARDS .BR getenv (): -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .PP .BR secure_getenv () is a GNU extension. diff --git a/man3/gets.3 b/man3/gets.3 index b77dad5c46..5c3e7b4b23 100644 --- a/man3/gets.3 +++ b/man3/gets.3 @@ -57,7 +57,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -C99, POSIX.1-2001. +C89, C99, POSIX.1-2001. .PP LSB deprecates .BR gets (). diff --git a/man3/isalpha.3 b/man3/isalpha.3 index 668369bcfa..baf2cd27b6 100644 --- a/man3/isalpha.3 +++ b/man3/isalpha.3 @@ -244,10 +244,9 @@ T} Thread safety MT-Safe .sp 1 .\" FIXME: need a thread-safety statement about the *_l functions .SH STANDARDS -POSIX.1-2001 specifies +C89 specifies .BR isalnum (), .BR isalpha (), -.BR isblank (), .BR iscntrl (), .BR isdigit (), .BR isgraph (), @@ -258,9 +257,16 @@ POSIX.1-2001 specifies .BR isupper (), and .BR isxdigit (), -and also +but not +.BR isascii () +and +.BR isblank (). +POSIX.1-2001 +also specifies those functions, and also .BR isascii () -(as an XSI extension). +(as an XSI extension) +and +.BR isblank (). C99 specifies all of the preceding functions, except .BR isascii (). .PP diff --git a/man3/ldexp.3 b/man3/ldexp.3 index fc944b7290..e28456c1f3 100644 --- a/man3/ldexp.3 +++ b/man3/ldexp.3 @@ -125,7 +125,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH SEE ALSO .BR frexp (3), .BR modf (3), diff --git a/man3/localeconv.3 b/man3/localeconv.3 index 5a5ff2430d..f900fc1193 100644 --- a/man3/localeconv.3 +++ b/man3/localeconv.3 @@ -66,7 +66,7 @@ T} .ad .sp 1 .SH STANDARDS -C99. +C89, C99. .SH BUGS The .BR printf (3) diff --git a/man3/log.3 b/man3/log.3 index 13bac24385..bde58d9f7a 100644 --- a/man3/log.3 +++ b/man3/log.3 @@ -124,7 +124,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH BUGS In glibc 2.5 and earlier, taking the diff --git a/man3/log10.3 b/man3/log10.3 index d64e49c859..00013ca763 100644 --- a/man3/log10.3 +++ b/man3/log10.3 @@ -85,7 +85,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH SEE ALSO .BR cbrt (3), .BR clog10 (3), diff --git a/man3/malloc.3 b/man3/malloc.3 index 21f537dd5e..6b7d7e4ea0 100644 --- a/man3/malloc.3 +++ b/man3/malloc.3 @@ -264,7 +264,7 @@ T} Thread safety MT-Safe .BR free (), .BR calloc (), .BR realloc (): -POSIX.1-2001, POSIX.1-2008, C99. +POSIX.1-2001, POSIX.1-2008, C89, C99. .PP .BR reallocarray () is a nonstandard extension that first appeared in OpenBSD 5.6 and FreeBSD 11.0. diff --git a/man3/memchr.3 b/man3/memchr.3 index e03001bec0..08c93ee824 100644 --- a/man3/memchr.3 +++ b/man3/memchr.3 @@ -121,7 +121,7 @@ T} Thread safety MT-Safe .sp 1 .SH STANDARDS .BR memchr (): -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .PP The .BR memrchr () diff --git a/man3/memcmp.3 b/man3/memcmp.3 index de712bd0ae..e587198486 100644 --- a/man3/memcmp.3 +++ b/man3/memcmp.3 @@ -63,7 +63,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .SH NOTES Do not use .BR memcmp () diff --git a/man3/memcpy.3 b/man3/memcpy.3 index 5af704e71f..77169a27ee 100644 --- a/man3/memcpy.3 +++ b/man3/memcpy.3 @@ -53,7 +53,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .SH NOTES Failure to observe the requirement that the memory areas do not overlap has been the source of significant bugs. diff --git a/man3/memmove.3 b/man3/memmove.3 index b8c1c87518..8ee7150e2a 100644 --- a/man3/memmove.3 +++ b/man3/memmove.3 @@ -61,7 +61,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .SH SEE ALSO .BR bcopy (3), .BR bstring (3), diff --git a/man3/memset.3 b/man3/memset.3 index 07862c431d..cce27bb959 100644 --- a/man3/memset.3 +++ b/man3/memset.3 @@ -53,7 +53,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .SH SEE ALSO .BR bstring (3), .BR bzero (3), diff --git a/man3/modf.3 b/man3/modf.3 index 42dfbdd885..5662b5a068 100644 --- a/man3/modf.3 +++ b/man3/modf.3 @@ -89,7 +89,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH SEE ALSO .BR frexp (3), .BR ldexp (3) diff --git a/man3/offsetof.3 b/man3/offsetof.3 index 423e291eed..7cfba984d5 100644 --- a/man3/offsetof.3 +++ b/man3/offsetof.3 @@ -64,7 +64,7 @@ within the given .IR type , in units of bytes. .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99. +POSIX.1-2001, POSIX.1-2008, C89, C99. .SH EXAMPLES On a Linux/i386 system, when compiled using the default .BR gcc (1) diff --git a/man3/perror.3 b/man3/perror.3 index a581c33408..09939d7642 100644 --- a/man3/perror.3 +++ b/man3/perror.3 @@ -126,7 +126,7 @@ T} Thread safety MT-Safe race:stderr .SH STANDARDS .BR perror (), .IR errno : -POSIX.1-2001, POSIX.1-2008, C99, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, 4.3BSD. .PP The externals .I sys_nerr diff --git a/man3/pow.3 b/man3/pow.3 index 264adb107a..b9a66c9298 100644 --- a/man3/pow.3 +++ b/man3/pow.3 @@ -331,7 +331,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH BUGS .SS Historical bugs (now fixed) Before glibc 2.28, diff --git a/man3/printf.3 b/man3/printf.3 index ac510e59ea..322281e511 100644 --- a/man3/printf.3 +++ b/man3/printf.3 @@ -963,10 +963,12 @@ T} Thread safety MT-Safe locale .BR fprintf (), .BR printf (), .BR sprintf (), -.BR snprintf (), .BR vprintf (), .BR vfprintf (), -.BR vsprintf (), +.BR vsprintf (): +POSIX.1-2001, POSIX.1-2008, C89, C99. +.PP +.BR snprintf (), .BR vsnprintf (): POSIX.1-2001, POSIX.1-2008, C99. .PP diff --git a/man3/puts.3 b/man3/puts.3 index 343bed8ae9..10a7f0cb77 100644 --- a/man3/puts.3 +++ b/man3/puts.3 @@ -103,7 +103,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99. +POSIX.1-2001, POSIX.1-2008, C89, C99. .SH BUGS It is not advisable to mix calls to output functions from the .I stdio diff --git a/man3/qsort.3 b/man3/qsort.3 index 55f7b18b6f..f4cf5a3214 100644 --- a/man3/qsort.3 +++ b/man3/qsort.3 @@ -104,7 +104,7 @@ T} Thread safety MT-Safe .sp 1 .SH STANDARDS .BR qsort (): -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .SH NOTES To compare C strings, the comparison function can call .BR strcmp (3), diff --git a/man3/raise.3 b/man3/raise.3 index 4d1a721aef..82903c118a 100644 --- a/man3/raise.3 +++ b/man3/raise.3 @@ -63,7 +63,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99. +POSIX.1-2001, POSIX.1-2008, C89, C99. .SH NOTES Since glibc 2.3.3, .BR raise () diff --git a/man3/rand.3 b/man3/rand.3 index f188bdd332..2692bc2354 100644 --- a/man3/rand.3 +++ b/man3/rand.3 @@ -138,7 +138,7 @@ The functions .BR rand () and .BR srand () -conform to SVr4, 4.3BSD, C99, POSIX.1-2001. +conform to SVr4, 4.3BSD, C89, C99, POSIX.1-2001. The function .BR rand_r () is from POSIX.1-2001. diff --git a/man3/remove.3 b/man3/remove.3 index e68c6c5fb4..a679b8adb3 100644 --- a/man3/remove.3 +++ b/man3/remove.3 @@ -71,7 +71,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, 4.3BSD. .\" .SH NOTES .\" Under libc4 and libc5, .\" .BR remove () diff --git a/man3/setbuf.3 b/man3/setbuf.3 index 4e6bb73629..b4ba7d8f1a 100644 --- a/man3/setbuf.3 +++ b/man3/setbuf.3 @@ -164,7 +164,7 @@ The .BR setbuf () and .BR setvbuf () -functions conform to C99. +functions conform to C89 and C99. .SH NOTES POSIX notes .\" https://www.austingroupbugs.net/view.php?id=397#c799 diff --git a/man3/setjmp.3 b/man3/setjmp.3 index c66a425037..a8516590a2 100644 --- a/man3/setjmp.3 +++ b/man3/setjmp.3 @@ -143,7 +143,7 @@ T} Thread safety MT-Safe .SH STANDARDS .BR setjmp (), .BR longjmp (): -POSIX.1-2001, POSIX.1-2008, C99. +POSIX.1-2001, POSIX.1-2008, C89, C99. .PP .BR sigsetjmp (), .BR siglongjmp (): diff --git a/man3/setlocale.3 b/man3/setlocale.3 index 314dfa0f4a..1604ad883d 100644 --- a/man3/setlocale.3 +++ b/man3/setlocale.3 @@ -199,7 +199,7 @@ T} Thread safety MT-Unsafe const:locale env .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99. +POSIX.1-2001, POSIX.1-2008, C89, C99. .PP The C standards specify only the categories .BR LC_ALL , diff --git a/man3/sin.3 b/man3/sin.3 index a5f9262a66..ccfddf87a6 100644 --- a/man3/sin.3 +++ b/man3/sin.3 @@ -104,7 +104,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH BUGS Before glibc 2.10, the glibc implementation did not set .\" http://sources.redhat.com/bugzilla/show_bug.cgi?id=6781 diff --git a/man3/sinh.3 b/man3/sinh.3 index 9a1821aa96..80eb79a6e5 100644 --- a/man3/sinh.3 +++ b/man3/sinh.3 @@ -120,7 +120,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH SEE ALSO .BR acosh (3), .BR asinh (3), diff --git a/man3/sqrt.3 b/man3/sqrt.3 index 10c47082cb..7fb9a58db4 100644 --- a/man3/sqrt.3 +++ b/man3/sqrt.3 @@ -103,7 +103,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH SEE ALSO .BR cbrt (3), .BR csqrt (3), diff --git a/man3/stdarg.3 b/man3/stdarg.3 index 468a0904a3..3a66019139 100644 --- a/man3/stdarg.3 +++ b/man3/stdarg.3 @@ -224,7 +224,15 @@ T} Thread safety MT-Safe race:ap .ad .sp 1 .SH STANDARDS -C99. +The +.BR va_start (), +.BR va_arg (), +and +.BR va_end () +macros conform to C89. +C99 defines the +.BR va_copy () +macro. .SH BUGS Unlike the historical .B varargs diff --git a/man3/stdin.3 b/man3/stdin.3 index d1b2375f41..caa65a40fd 100644 --- a/man3/stdin.3 +++ b/man3/stdin.3 @@ -119,7 +119,7 @@ The .IR stdout , and .I stderr -macros conform to C99 +macros conform to C89 and this standard also stipulates that these three streams shall be open at program startup. .SH NOTES diff --git a/man3/stdio.3 b/man3/stdio.3 index 2b6c43e012..628f9b6900 100644 --- a/man3/stdio.3 +++ b/man3/stdio.3 @@ -335,7 +335,7 @@ T} .SH STANDARDS The .I stdio -library conforms to C99. +library conforms to C89. .SH SEE ALSO .BR close (2), .BR open (2), diff --git a/man3/stpncpy.3 b/man3/stpncpy.3 index 9d752efe20..70e80195c1 100644 --- a/man3/stpncpy.3 +++ b/man3/stpncpy.3 @@ -101,7 +101,7 @@ POSIX.1-2008. .\" It first appeared in glibc 1.07 in 1993. .TP .BR strncpy () -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .SH CAVEATS The name of these functions is confusing. These functions produce a null-padded character sequence, diff --git a/man3/strchr.3 b/man3/strchr.3 index 3eac670088..6cce980019 100644 --- a/man3/strchr.3 +++ b/man3/strchr.3 @@ -107,7 +107,7 @@ T} Thread safety MT-Safe .SH STANDARDS .BR strchr (), .BR strrchr (): -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .PP .BR strchrnul () is a GNU extension. diff --git a/man3/strcmp.3 b/man3/strcmp.3 index 8a2ee35f99..63de49e18a 100644 --- a/man3/strcmp.3 +++ b/man3/strcmp.3 @@ -95,7 +95,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .SH NOTES POSIX.1 specifies only that: .RS diff --git a/man3/strcoll.3 b/man3/strcoll.3 index e43468bb57..6ebbadcb02 100644 --- a/man3/strcoll.3 +++ b/man3/strcoll.3 @@ -68,7 +68,7 @@ T} Thread safety MT-Safe locale .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .SH NOTES In the .I "POSIX" diff --git a/man3/strcpy.3 b/man3/strcpy.3 index 7d04f59f53..02b6fbd8ca 100644 --- a/man3/strcpy.3 +++ b/man3/strcpy.3 @@ -123,7 +123,7 @@ POSIX.1-2008. .BR strcpy () .TQ .BR strcat () -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .SH CAVEATS The strings .I src diff --git a/man3/strerror.3 b/man3/strerror.3 index 96bd8df114..da517f5dfa 100644 --- a/man3/strerror.3 +++ b/man3/strerror.3 @@ -255,7 +255,7 @@ T} Thread safety MT-Safe .sp 1 .SH STANDARDS .BR strerror () -is specified by POSIX.1-2001, POSIX.1-2008, and C99. +is specified by POSIX.1-2001, POSIX.1-2008, C89, and C99. .BR strerror_r () is specified by POSIX.1-2001 and POSIX.1-2008. .\" FIXME . for later review when Issue 8 is one day released... diff --git a/man3/strftime.3 b/man3/strftime.3 index 57b2a38aa0..b820abf700 100644 --- a/man3/strftime.3 +++ b/man3/strftime.3 @@ -542,7 +542,7 @@ T} Thread safety MT-Safe env locale .sp 1 .SH STANDARDS .BR strftime (): -SVr4, C99. +SVr4, C89, C99. .PD 0 .PP .PD diff --git a/man3/strlen.3 b/man3/strlen.3 index f994a2e90c..f8c9bc0c61 100644 --- a/man3/strlen.3 +++ b/man3/strlen.3 @@ -49,7 +49,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99, C11, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, C11, SVr4, 4.3BSD. .SH NOTES In cases where the input buffer may not contain a terminating null byte, diff --git a/man3/strncat.3 b/man3/strncat.3 index cbf930ec32..af5027c09c 100644 --- a/man3/strncat.3 +++ b/man3/strncat.3 @@ -66,7 +66,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .SH CAVEATS The name of this function is confusing. This function has no relation to diff --git a/man3/strpbrk.3 b/man3/strpbrk.3 index cb84aeca47..f81a263af9 100644 --- a/man3/strpbrk.3 +++ b/man3/strpbrk.3 @@ -55,7 +55,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .SH SEE ALSO .BR memchr (3), .BR strchr (3), diff --git a/man3/strsep.3 b/man3/strsep.3 index 794ddbec5b..103d9b7886 100644 --- a/man3/strsep.3 +++ b/man3/strsep.3 @@ -92,7 +92,7 @@ function was introduced as a replacement for since the latter cannot handle empty fields. However, .BR strtok (3) -conforms to C99 and hence is more portable. +conforms to C89/C99 and hence is more portable. .SH BUGS Be cautious when using this function. If you do use it, note that: diff --git a/man3/strspn.3 b/man3/strspn.3 index 34d2f1a6a3..fbb0b40434 100644 --- a/man3/strspn.3 +++ b/man3/strspn.3 @@ -73,7 +73,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .SH SEE ALSO .BR memchr (3), .BR strchr (3), diff --git a/man3/strstr.3 b/man3/strstr.3 index 25bbf9b27b..2f41cd1628 100644 --- a/man3/strstr.3 +++ b/man3/strstr.3 @@ -74,7 +74,7 @@ T} Thread safety MT-Safe locale .sp 1 .SH STANDARDS .BR strstr (): -POSIX.1-2001, POSIX.1-2008, C99. +POSIX.1-2001, POSIX.1-2008, C89, C99. .PP The .BR strcasestr () diff --git a/man3/strtod.3 b/man3/strtod.3 index 2064b395cd..eb1dd650c2 100644 --- a/man3/strtod.3 +++ b/man3/strtod.3 @@ -158,6 +158,9 @@ T} Thread safety MT-Safe locale .sp 1 .SH STANDARDS POSIX.1-2001, POSIX.1-2008, C99. +.PP +.BR strtod () +was also described in C89. .SH NOTES Since 0 can legitimately be returned diff --git a/man3/strtok.3 b/man3/strtok.3 index 9c80c28235..db52fb25c9 100644 --- a/man3/strtok.3 +++ b/man3/strtok.3 @@ -174,7 +174,7 @@ T} Thread safety MT-Safe .SH STANDARDS .TP .BR strtok () -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .TP .BR strtok_r () POSIX.1-2001, POSIX.1-2008. diff --git a/man3/strtol.3 b/man3/strtol.3 index da6c98441f..34eb63414a 100644 --- a/man3/strtol.3 +++ b/man3/strtol.3 @@ -161,7 +161,7 @@ T} Thread safety MT-Safe locale .sp 1 .SH STANDARDS .BR strtol (): -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99 SVr4, 4.3BSD. .PP .BR strtoll (): POSIX.1-2001, POSIX.1-2008, C99. diff --git a/man3/strtoul.3 b/man3/strtoul.3 index 784094ad68..b43a0b1dd3 100644 --- a/man3/strtoul.3 +++ b/man3/strtoul.3 @@ -161,7 +161,7 @@ T} Thread safety MT-Safe locale .sp 1 .SH STANDARDS .BR strtoul (): -POSIX.1-2001, POSIX.1-2008, C99, SVr4. +POSIX.1-2001, POSIX.1-2008, C89, C99 SVr4. .PP .BR strtoull (): POSIX.1-2001, POSIX.1-2008, C99. diff --git a/man3/strxfrm.3 b/man3/strxfrm.3 index 1596273f0e..59f96fd94d 100644 --- a/man3/strxfrm.3 +++ b/man3/strxfrm.3 @@ -77,7 +77,7 @@ T} Thread safety MT-Safe locale .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. .SH SEE ALSO .BR memcmp (3), .BR setlocale (3), diff --git a/man3/system.3 b/man3/system.3 index 414968fd74..a66ddfa372 100644 --- a/man3/system.3 +++ b/man3/system.3 @@ -119,7 +119,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99. +POSIX.1-2001, POSIX.1-2008, C89, C99. .SH NOTES .BR system () provides simplicity and convenience: diff --git a/man3/tan.3 b/man3/tan.3 index 83b244c683..ff8de23086 100644 --- a/man3/tan.3 +++ b/man3/tan.3 @@ -129,7 +129,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH BUGS Before glibc 2.10, the glibc implementation did not set .\" http://sourceware.org/bugzilla/show_bug.cgi?id=6782 diff --git a/man3/tanh.3 b/man3/tanh.3 index 36b88f7378..6846196bca 100644 --- a/man3/tanh.3 +++ b/man3/tanh.3 @@ -96,7 +96,7 @@ C99, POSIX.1-2001, POSIX.1-2008. The variant returning .I double also conforms to -SVr4, 4.3BSD. +SVr4, 4.3BSD, C89. .SH SEE ALSO .BR acosh (3), .BR asinh (3), diff --git a/man3/tmpfile.3 b/man3/tmpfile.3 index f238ec7e34..fd39b6e1d7 100644 --- a/man3/tmpfile.3 +++ b/man3/tmpfile.3 @@ -78,7 +78,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD, SUSv2. +POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD, SUSv2. .SH NOTES POSIX.1-2001 specifies: an error message may be written to diff --git a/man3/tmpnam.3 b/man3/tmpnam.3 index 9de98d3049..8f9a2af5b4 100644 --- a/man3/tmpnam.3 +++ b/man3/tmpnam.3 @@ -107,7 +107,7 @@ T} Thread safety MT-Safe .sp 1 .SH STANDARDS .BR tmpnam (): -SVr4, 4.3BSD, C99, POSIX.1-2001. +SVr4, 4.3BSD, C89, C99, POSIX.1-2001. POSIX.1-2008 marks .BR tmpnam () as obsolete. diff --git a/man3/toupper.3 b/man3/toupper.3 index c2c98ea303..0df8209d92 100644 --- a/man3/toupper.3 +++ b/man3/toupper.3 @@ -114,7 +114,7 @@ T} Thread safety MT-Safe .SH STANDARDS .BR toupper (), .BR tolower (): -C99, 4.3BSD, POSIX.1-2001, POSIX.1-2008. +C89, C99, 4.3BSD, POSIX.1-2001, POSIX.1-2008. .PP .BR toupper_l (), .BR tolower_l (): |
