diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-11-16 12:20:01 +0100 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-11-16 12:29:42 +0100 |
commit | ebf47ac9da21f4a1f5756f5d5b5d5b6f41343112 (patch) | |
tree | 94be4af5336015bf82a94cde9196e9f1d791f730 | |
parent | d67806343661508e239d1d16b155cf8d897a28d4 (diff) | |
download | man-pages-ebf47ac9da21f4a1f5756f5d5b5d5b6f41343112.tar.gz |
uselib.2, posix_memalign.3, profil.3, rtime.3: Remove some text about libc/libc5
With this change, there remain almost no vestiges of information
about the long defunct Linux libc.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r-- | man2/uselib.2 | 36 | ||||
-rw-r--r-- | man3/posix_memalign.3 | 3 | ||||
-rw-r--r-- | man3/profil.3 | 2 | ||||
-rw-r--r-- | man3/rtime.3 | 22 |
4 files changed, 32 insertions, 31 deletions
diff --git a/man2/uselib.2 b/man2/uselib.2 index 2eda1c5862..64e73cfb02 100644 --- a/man2/uselib.2 +++ b/man2/uselib.2 @@ -89,28 +89,28 @@ it was sufficient to manually declare the interface in your code; alternatively, you could invoke the system call using .BR syscall (2). .PP -In ancient libc versions, +In ancient libc versions (before glibc 2.0), .BR uselib () was used to load the shared libraries with names found in an array of names in the binary. -.PP -.\" libc 4.3.1f - changelog 1993-03-02 -Since libc 4.3.2, startup code tries to prefix these names -with "/usr/lib", "/lib" and "" before giving up. -.\" libc 4.3.4 - changelog 1993-04-21 -In libc 4.3.4 and later these names are looked for in the directories -found in -.BR LD_LIBRARY_PATH , -and if not found there, -prefixes "/usr/lib", "/lib" and "/" are tried. -.PP -From libc 4.4.4 on only the library "/lib/ld.so" is loaded, -so that this dynamic library can load the remaining libraries needed -(again using this call). -This is also the state of affairs in libc5. -.PP -glibc2 does not use this call. +.\" .PP +.\" .\" libc 4.3.1f - changelog 1993-03-02 +.\" Since libc 4.3.2, startup code tries to prefix these names +.\" with "/usr/lib", "/lib" and "" before giving up. +.\" .\" libc 4.3.4 - changelog 1993-04-21 +.\" In libc 4.3.4 and later these names are looked for in the directories +.\" found in +.\" .BR LD_LIBRARY_PATH , +.\" and if not found there, +.\" prefixes "/usr/lib", "/lib" and "/" are tried. +.\" .PP +.\" From libc 4.4.4 on only the library "/lib/ld.so" is loaded, +.\" so that this dynamic library can load the remaining libraries needed +.\" (again using this call). +.\" This is also the state of affairs in libc5. +.\" .PP +.\" glibc2 does not use this call. .PP Since Linux 3.15, .\" commit 69369a7003735d0d8ef22097e27a55a8bad9557a diff --git a/man3/posix_memalign.3 b/man3/posix_memalign.3 index 09f14a9377..4249963d72 100644 --- a/man3/posix_memalign.3 +++ b/man3/posix_memalign.3 @@ -245,7 +245,8 @@ is declared in \fI<stdlib.h>\fP instead of \fI<malloc.h>\fP. According to SUSv2, .BR valloc () is declared in \fI<stdlib.h>\fP. -Libc4,5 and glibc declare it in \fI<malloc.h>\fP, and also in +.\" Libc4,5 and +Glibc declares it in \fI<malloc.h>\fP, and also in \fI<stdlib.h>\fP if suitable feature test macros are defined (see above). .SH NOTES diff --git a/man3/profil.3 b/man3/profil.3 index b884e3ec06..645d24e42e 100644 --- a/man3/profil.3 +++ b/man3/profil.3 @@ -98,7 +98,7 @@ interval timers (see .BR setitimer (2)). .PP True kernel profiling provides more accurate results. -Libc 4.4 contained a kernel patch providing a system call profil. +.\" Libc 4.4 contained a kernel patch providing a system call profil. .SH SEE ALSO .BR gprof (1), .BR sprof (1), diff --git a/man3/rtime.3 b/man3/rtime.3 index ea23c27a85..db6fac5657 100644 --- a/man3/rtime.3 +++ b/man3/rtime.3 @@ -75,17 +75,17 @@ versions support only TCP. Try the example program with .I use_tcp set to 1. -.PP -Libc5 uses the prototype -.PP -.nf - int rtime(struct sockaddr_in *, struct timeval *, struct timeval *); -.fi -.PP -and requires -.I <sys/time.h> -instead of -.IR <rpc/auth_des.h> . +.\" .PP +.\" Libc5 uses the prototype +.\" .PP +.\" .nf +.\" int rtime(struct sockaddr_in *, struct timeval *, struct timeval *); +.\" .fi +.\" .PP +.\" and requires +.\" .I <sys/time.h> +.\" instead of +.\" .IR <rpc/auth_des.h> . .SH BUGS .BR rtime () in glibc 2.2.5 and earlier does not work properly on 64-bit machines. |