diff options
| author | Alejandro Colomar <alx@kernel.org> | 2022-12-29 18:03:24 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2022-12-29 18:03:26 +0100 |
| commit | 72b349dd8c209d7375d4d4f76e2315943d654ee9 (patch) | |
| tree | e055aee6246fe2c5ee6c7b2b3cdffa5667035a12 | |
| parent | 5c4c37509c39c846891a17136702ed7447213b14 (diff) | |
| download | man-pages-72b349dd8c209d7375d4d4f76e2315943d654ee9.tar.gz | |
Many pages: Remove references to C89
C89 is obsolete, and programs should target newer standards. If someone
needs information about is, the Standard itself is a better resource.
Let's move forward, so readers get the intended notice that C89 is not a
useful version of C.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
88 files changed, 90 insertions, 135 deletions
diff --git a/man2/rename.2 b/man2/rename.2 index 661e582237..7409037b12 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, C89, C99, POSIX.1-2001, POSIX.1-2008. +4.3BSD, C99, POSIX.1-2001, POSIX.1-2008. .PP .BR renameat (): POSIX.1-2008. diff --git a/man2/signal.2 b/man2/signal.2 index 2bb05cd898..cd351fcd47 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, C89, C99. +POSIX.1-2001, POSIX.1-2008, C99. .SH NOTES The effects of .BR signal () diff --git a/man2/time.2 b/man2/time.2 index 2be79cf782..57558c9aaa 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, C89, C99, POSIX.1-2001. +SVr4, 4.3BSD, 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 b0570585d0..ddc0ed5368 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, C89, C99. +SVr4, POSIX.1-2001, POSIX.1-2008, 4.3BSD, C99. .SH NOTES Up until glibc 2.26, if the diff --git a/man3/abs.3 b/man3/abs.3 index a1293f3856..06eb12c560 100644 --- a/man3/abs.3 +++ b/man3/abs.3 @@ -77,19 +77,6 @@ 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 2d5276f123..1f4a620b54 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, C89. +SVr4, 4.3BSD. .SH SEE ALSO .BR asin (3), .BR atan (3), diff --git a/man3/asin.3 b/man3/asin.3 index 67479800bd..c15640986e 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, C89. +SVr4, 4.3BSD. .SH SEE ALSO .BR acos (3), .BR atan (3), diff --git a/man3/assert.3 b/man3/assert.3 index 8ca8dd22b0..58acab5858 100644 --- a/man3/assert.3 +++ b/man3/assert.3 @@ -74,14 +74,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -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. +POSIX.1-2001, POSIX.1-2008, C99. .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 1202a96fc4..2139f491c1 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, C89. +SVr4, 4.3BSD. .SH SEE ALSO .BR acos (3), .BR asin (3), diff --git a/man3/atan2.3 b/man3/atan2.3 index d68116d4b5..2d1a587549 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, C89. +SVr4, 4.3BSD. .SH SEE ALSO .BR acos (3), .BR asin (3), diff --git a/man3/atexit.3 b/man3/atexit.3 index c114ae1eb7..05d46fbbde 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. .SH NOTES Functions registered using .BR atexit () diff --git a/man3/atof.3 b/man3/atof.3 index 22d1c50da5..913060cbda 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. .SH SEE ALSO .BR atoi (3), .BR atol (3), diff --git a/man3/atoi.3 b/man3/atoi.3 index 481f7ae2c9..cf4725019c 100644 --- a/man3/atoi.3 +++ b/man3/atoi.3 @@ -85,12 +85,6 @@ 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 28d9c1cbbf..975f4f9136 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, 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 fbd64e51cc..1d91cc60c1 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, C89. +SVr4, 4.3BSD. .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 49d92238c3..488b94e5b1 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, C89, C99. +POSIX.1-2001, POSIX.1-2008, C99. XSI requires that .B CLOCKS_PER_SEC equals 1000000 independent diff --git a/man3/ctime.3 b/man3/ctime.3 index 6e6d255880..bfc64d614c 100644 --- a/man3/ctime.3 +++ b/man3/ctime.3 @@ -302,7 +302,7 @@ T} .sp 1 .SH STANDARDS POSIX.1-2001. -C89 and C99 specify +C99 specifies .BR asctime (), .BR ctime (), .BR gmtime (), diff --git a/man3/difftime.3 b/man3/difftime.3 index 051800888f..b85254cd03 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. .SH NOTES On a POSIX system, .I time_t diff --git a/man3/div.3 b/man3/div.3 index 29b9493a25..375435dd92 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. The functions .BR lldiv () and diff --git a/man3/exit.3 b/man3/exit.3 index 10c721e3e2..2fd463cb79 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, 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 29ae900c45..b459f960a4 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, C89. +SVr4, 4.3BSD. .SH SEE ALSO .BR cbrt (3), .BR cexp (3), diff --git a/man3/fabs.3 b/man3/fabs.3 index 26820e7bbb..5a894a4332 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, C89. +SVr4, 4.3BSD. .SH SEE ALSO .BR abs (3), .BR cabs (3), diff --git a/man3/fclose.3 b/man3/fclose.3 index 213e36bb76..2c55efa690 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, C89, C99. +POSIX.1-2001, POSIX.1-2008, C99. .SH NOTES Note that .BR fclose () diff --git a/man3/ferror.3 b/man3/ferror.3 index 9d9ebe23a6..cf9ed16455 100644 --- a/man3/ferror.3 +++ b/man3/ferror.3 @@ -93,7 +93,7 @@ The functions .BR feof (), and .BR ferror () -conform to C89, C99, POSIX.1-2001, and POSIX.1-2008. +conform to 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 927ff8b2b0..2830824aba 100644 --- a/man3/fflush.3 +++ b/man3/fflush.3 @@ -91,7 +91,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -C89, C99, POSIX.1-2001, POSIX.1-2008. +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 8aa0ce47f2..5eb767e523 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, C89, C99. +POSIX.1-2001, POSIX.1-2008, 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 6e8c739694..e2d849ac99 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, C89. +SVr4, 4.3BSD. .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 6c30455476..34c2122af5 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, C89. +SVr4, 4.3BSD. .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 3823262568..8a6e3189b3 100644 --- a/man3/fopen.3 +++ b/man3/fopen.3 @@ -90,7 +90,7 @@ The string can also include the letter \(aqb\(aq 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 C89 +This is strictly for compatibility with ISO C and has no effect; the \(aqb\(aq is ignored on all POSIX conforming systems, including Linux. (Other systems may treat text files and binary files differently, @@ -291,7 +291,7 @@ T} Thread safety MT-Safe .SH STANDARDS .BR fopen (), .BR freopen (): -POSIX.1-2001, POSIX.1-2008, C89, C99. +POSIX.1-2001, POSIX.1-2008, C99. .PP .BR fdopen (): POSIX.1-2001, POSIX.1-2008. diff --git a/man3/fread.3 b/man3/fread.3 index 160ea5f448..de609dc244 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, C89. +POSIX.1-2001, POSIX.1-2008, C99. .SH EXAMPLES The program below demonstrates the use of .BR fread () diff --git a/man3/frexp.3 b/man3/frexp.3 index db5829106f..2518187a19 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, C89. +SVr4, 4.3BSD. .SH EXAMPLES The program below produces results such as the following: .PP diff --git a/man3/fseek.3 b/man3/fseek.3 index 7c211a8de0..dc98280e24 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, C89, C99. +POSIX.1-2001, POSIX.1-2008, C99. .SH SEE ALSO .BR lseek (2), .BR fseeko (3) diff --git a/man3/getenv.3 b/man3/getenv.3 index 193d7d2f3c..0d4c19d239 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. .PP .BR secure_getenv () is a GNU extension. diff --git a/man3/gets.3 b/man3/gets.3 index d45eaf0a4c..0c63da9860 100644 --- a/man3/gets.3 +++ b/man3/gets.3 @@ -57,7 +57,7 @@ T} Thread safety MT-Safe .ad .sp 1 .SH STANDARDS -C89, C99, POSIX.1-2001. +C99, POSIX.1-2001. .PP LSB deprecates .BR gets (). diff --git a/man3/isalpha.3 b/man3/isalpha.3 index 76ea7f1e22..8d5300c3d1 100644 --- a/man3/isalpha.3 +++ b/man3/isalpha.3 @@ -244,9 +244,10 @@ T} Thread safety MT-Safe .sp 1 .\" FIXME: need a thread-safety statement about the *_l functions .SH STANDARDS -C89 specifies +POSIX.1-2001 specifies .BR isalnum (), .BR isalpha (), +.BR isblank (), .BR iscntrl (), .BR isdigit (), .BR isgraph (), @@ -257,16 +258,9 @@ C89 specifies .BR isupper (), and .BR isxdigit (), -but not -.BR isascii () -and -.BR isblank (). -POSIX.1-2001 -also specifies those functions, and also +and also .BR isascii () -(as an XSI extension) -and -.BR isblank (). +(as an XSI extension). C99 specifies all of the preceding functions, except .BR isascii (). .PP diff --git a/man3/ldexp.3 b/man3/ldexp.3 index 8604153f8d..0db4500e20 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, C89. +SVr4, 4.3BSD. .SH SEE ALSO .BR frexp (3), .BR modf (3), diff --git a/man3/localeconv.3 b/man3/localeconv.3 index f900fc1193..5a5ff2430d 100644 --- a/man3/localeconv.3 +++ b/man3/localeconv.3 @@ -66,7 +66,7 @@ T} .ad .sp 1 .SH STANDARDS -C89, C99. +C99. .SH BUGS The .BR printf (3) diff --git a/man3/log.3 b/man3/log.3 index 92238a9df9..3ef26befce 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, C89. +SVr4, 4.3BSD. .SH BUGS In glibc 2.5 and earlier, taking the diff --git a/man3/log10.3 b/man3/log10.3 index 9781e3c9ab..8a0d523960 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, C89. +SVr4, 4.3BSD. .SH SEE ALSO .BR cbrt (3), .BR clog10 (3), diff --git a/man3/malloc.3 b/man3/malloc.3 index 86250ce203..5f01923f01 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, C89, C99. +POSIX.1-2001, POSIX.1-2008, 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 21008c62fe..d14014d623 100644 --- a/man3/memchr.3 +++ b/man3/memchr.3 @@ -126,7 +126,7 @@ T} Thread safety MT-Safe .sp 1 .SH STANDARDS .BR memchr (): -POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. .PP The .BR memrchr () diff --git a/man3/memcmp.3 b/man3/memcmp.3 index dffc541fa8..16d5b4f398 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. .SH NOTES Do not use .BR memcmp () diff --git a/man3/memcpy.3 b/man3/memcpy.3 index 77169a27ee..5af704e71f 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, 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 8ee7150e2a..b8c1c87518 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. .SH SEE ALSO .BR bcopy (3), .BR bstring (3), diff --git a/man3/memset.3 b/man3/memset.3 index cce27bb959..07862c431d 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. .SH SEE ALSO .BR bstring (3), .BR bzero (3), diff --git a/man3/modf.3 b/man3/modf.3 index 15ee4d275d..e82f6bcca4 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, C89. +SVr4, 4.3BSD. .SH SEE ALSO .BR frexp (3), .BR ldexp (3) diff --git a/man3/offsetof.3 b/man3/offsetof.3 index 7cfba984d5..423e291eed 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, C89, C99. +POSIX.1-2001, POSIX.1-2008, 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 3e80eafafb..4d07086f9b 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, C89, C99, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C99, 4.3BSD. .PP The externals .I sys_nerr diff --git a/man3/pow.3 b/man3/pow.3 index fa2d648c95..98bc5968f9 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, C89. +SVr4, 4.3BSD. .SH BUGS .SS Historical bugs (now fixed) Before glibc 2.28, diff --git a/man3/printf.3 b/man3/printf.3 index 9d74126fc2..3074aef1b4 100644 --- a/man3/printf.3 +++ b/man3/printf.3 @@ -963,12 +963,10 @@ T} Thread safety MT-Safe locale .BR fprintf (), .BR printf (), .BR sprintf (), +.BR snprintf (), .BR vprintf (), .BR vfprintf (), -.BR vsprintf (): -POSIX.1-2001, POSIX.1-2008, C89, C99. -.PP -.BR snprintf (), +.BR vsprintf (), .BR vsnprintf (): POSIX.1-2001, POSIX.1-2008, C99. .PP diff --git a/man3/puts.3 b/man3/puts.3 index 01586847d6..3cb92e4dcc 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, C89, C99. +POSIX.1-2001, POSIX.1-2008, 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 1855053860..be7ca3ed22 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, 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 82903c118a..4d1a721aef 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, C89, C99. +POSIX.1-2001, POSIX.1-2008, C99. .SH NOTES Since glibc 2.3.3, .BR raise () diff --git a/man3/rand.3 b/man3/rand.3 index 5724717491..5b9e21abea 100644 --- a/man3/rand.3 +++ b/man3/rand.3 @@ -137,7 +137,7 @@ The functions .BR rand () and .BR srand () -conform to SVr4, 4.3BSD, C89, C99, POSIX.1-2001. +conform to SVr4, 4.3BSD, 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 a679b8adb3..e68c6c5fb4 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, C89, C99, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C99, 4.3BSD. .\" .SH NOTES .\" Under libc4 and libc5, .\" .BR remove () diff --git a/man3/setbuf.3 b/man3/setbuf.3 index 888a3be963..018da7829d 100644 --- a/man3/setbuf.3 +++ b/man3/setbuf.3 @@ -164,7 +164,7 @@ The .BR setbuf () and .BR setvbuf () -functions conform to C89 and C99. +functions conform to 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 27b154f9c7..8842b93957 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, C89, C99. +POSIX.1-2001, POSIX.1-2008, C99. .PP .BR sigsetjmp (), .BR siglongjmp (): diff --git a/man3/setlocale.3 b/man3/setlocale.3 index b1e3dd7b74..43b649840a 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, C89, C99. +POSIX.1-2001, POSIX.1-2008, C99. .PP The C standards specify only the categories .BR LC_ALL , diff --git a/man3/sin.3 b/man3/sin.3 index d714840d54..7d69b78045 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, C89. +SVr4, 4.3BSD. .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 d85fe3e8f7..4ccac501e5 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, C89. +SVr4, 4.3BSD. .SH SEE ALSO .BR acosh (3), .BR asinh (3), diff --git a/man3/sqrt.3 b/man3/sqrt.3 index 6065931bc5..31a0571190 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, C89. +SVr4, 4.3BSD. .SH SEE ALSO .BR cbrt (3), .BR csqrt (3), diff --git a/man3/stdarg.3 b/man3/stdarg.3 index c8bf2f38bd..48a8914360 100644 --- a/man3/stdarg.3 +++ b/man3/stdarg.3 @@ -224,15 +224,7 @@ T} Thread safety MT-Safe race:ap .ad .sp 1 .SH STANDARDS -The -.BR va_start (), -.BR va_arg (), -and -.BR va_end () -macros conform to C89. -C99 defines the -.BR va_copy () -macro. +C99. .SH BUGS Unlike the historical .B varargs diff --git a/man3/stdin.3 b/man3/stdin.3 index caa65a40fd..d1b2375f41 100644 --- a/man3/stdin.3 +++ b/man3/stdin.3 @@ -119,7 +119,7 @@ The .IR stdout , and .I stderr -macros conform to C89 +macros conform to C99 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 628f9b6900..2b6c43e012 100644 --- a/man3/stdio.3 +++ b/man3/stdio.3 @@ -335,7 +335,7 @@ T} .SH STANDARDS The .I stdio -library conforms to C89. +library conforms to C99. .SH SEE ALSO .BR close (2), .BR open (2), diff --git a/man3/stpncpy.3 b/man3/stpncpy.3 index b76d73c1b6..c9775f6538 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, 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 6636edc063..6686e6fee3 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. .PP .BR strchrnul () is a GNU extension. diff --git a/man3/strcmp.3 b/man3/strcmp.3 index 8d60db6f40..58507d4bc4 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. .SH NOTES POSIX.1 specifies only that: .RS diff --git a/man3/strcoll.3 b/man3/strcoll.3 index 7725ea6547..20321e0063 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. .SH NOTES In the .I "POSIX" diff --git a/man3/strcpy.3 b/man3/strcpy.3 index c5818b91f7..c0d8006514 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. .SH CAVEATS The strings .I src diff --git a/man3/strerror.3 b/man3/strerror.3 index 2364653d9e..9a3d7e8580 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, C89, and C99. +is specified by POSIX.1-2001, POSIX.1-2008, 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 c2bba34b3c..bbe915b7aa 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, C89, C99. +SVr4, C99. .PD 0 .PP .PD diff --git a/man3/strlen.3 b/man3/strlen.3 index 694da3a2f0..b9e9aec002 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, C89, C99, C11, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, 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 b346570343..d74d8ecfa0 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, 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 a4797c5fc3..f459ee1ee2 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. .SH SEE ALSO .BR index (3), .BR memchr (3), diff --git a/man3/strsep.3 b/man3/strsep.3 index af50433552..0eb95b8a76 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 C89/C99 and hence is more portable. +conforms to 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 a1535d42dd..e584ca257b 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. .SH SEE ALSO .BR index (3), .BR memchr (3), diff --git a/man3/strstr.3 b/man3/strstr.3 index dc8673115c..879e51cefa 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, C89, C99. +POSIX.1-2001, POSIX.1-2008, C99. .PP The .BR strcasestr () diff --git a/man3/strtod.3 b/man3/strtod.3 index 53768a8463..7b5c986772 100644 --- a/man3/strtod.3 +++ b/man3/strtod.3 @@ -158,9 +158,6 @@ 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 c0ed34d589..80c1890649 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, 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 c39233d1cf..c165cb8350 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, C89, C99 SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, 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 f04284df69..d621bbe4cd 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, C89, C99 SVr4. +POSIX.1-2001, POSIX.1-2008, C99, SVr4. .PP .BR strtoull (): POSIX.1-2001, POSIX.1-2008, C99. diff --git a/man3/strxfrm.3 b/man3/strxfrm.3 index 68deb405b8..ebcfca8250 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, C89, C99, SVr4, 4.3BSD. +POSIX.1-2001, POSIX.1-2008, C99, SVr4, 4.3BSD. .SH SEE ALSO .BR bcmp (3), .BR memcmp (3), diff --git a/man3/system.3 b/man3/system.3 index 6009727ea4..fe72dec157 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, C89, C99. +POSIX.1-2001, POSIX.1-2008, C99. .SH NOTES .BR system () provides simplicity and convenience: diff --git a/man3/tan.3 b/man3/tan.3 index aa5fd3b485..4f0398c5a7 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, C89. +SVr4, 4.3BSD. .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 84cb04150d..28a62e1b5a 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, C89. +SVr4, 4.3BSD. .SH SEE ALSO .BR acosh (3), .BR asinh (3), diff --git a/man3/tmpfile.3 b/man3/tmpfile.3 index ff0ea46fd8..cc869bdea9 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, C89, C99, SVr4, 4.3BSD, SUSv2. +POSIX.1-2001, POSIX.1-2008, 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 8f9a2af5b4..9de98d3049 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, C89, C99, POSIX.1-2001. +SVr4, 4.3BSD, C99, POSIX.1-2001. POSIX.1-2008 marks .BR tmpnam () as obsolete. diff --git a/man3/toupper.3 b/man3/toupper.3 index 0df8209d92..c2c98ea303 100644 --- a/man3/toupper.3 +++ b/man3/toupper.3 @@ -114,7 +114,7 @@ T} Thread safety MT-Safe .SH STANDARDS .BR toupper (), .BR tolower (): -C89, C99, 4.3BSD, POSIX.1-2001, POSIX.1-2008. +C99, 4.3BSD, POSIX.1-2001, POSIX.1-2008. .PP .BR toupper_l (), .BR tolower_l (): |
