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>
This commit is contained in:
Michael Kerrisk 2020-11-16 12:20:01 +01:00
parent d678063436
commit ebf47ac9da
4 changed files with 32 additions and 31 deletions

View File

@ -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

View File

@ -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

View File

@ -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),

View File

@ -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.