Bug#2290: sysinfo(2) manpage patch
package: manpages
version: 1.9-2
After H.J. Lu has agreed to include my sysinfo patch (Bug#1607),
the manpage should be updated too. The sysinfo system call will be available
with the next release of the libc5 and aout-libc4 packages.
--- /usr/man/man2/sysinfo.2 Wed Jan 3 19:55:42 1996
+++ /home/bsb/debian/libc/sysinfo.2 Sun Feb 4 19:57:42 1996
@@ -8,15 +8,15 @@
.\" changed this file. Thanks. -DM
.\"
.\" Modified Sat Jul 24 12:35:12 1993 by Rik Faith (faith@cs.unc.edu)
+.\" Modified Sun Feb 4 19:24:22 MET 1996 by Siggy Brentrup (bsb@uni-muenster.de)
.\"
-.TH SYSINFO 2 "24 July 1993" "Linux 0.99.10" "Linux Programmer's Manual"
+.TH SYSINFO 2 "4 Feb 1996" "Linux 1.3.5x" "Linux Programmer's Manual"
.SH NAME
sysinfo \- returns information on overall system statistics
.SH SYNOPSIS
-As of Linux 0.99.10 and image release 4.4
-.B #include <linux/kernel.h>
-.br
-.B #include <linux/sys.h>
+As of Linux 0.99.10 and libc release 5.2
+.sp
+.B #include <sys/sysinfo.h>
.sp
.BI "int sysinfo(struct sysinfo *" info );
.SH DESCRIPTION
@@ -55,4 +55,5 @@
This function is Linux-specific.
.SH BUGS
The Linux DLL 4.4.1 libraries do not contain a proper prototype for this
-function.
+function. As of libc 4.6.27 (a.out) and libc 5.2.18 (ELF) they do not even
+contain this function, although the patch should work with older libraries too.
Thanks
Siggy
--
mailto:bsb@uni-muenster.de // programmer/admin for hire
bsb@beck.westfalen.de \\ Opinions are strictly my own,
voice: +49-251-8619-99 \\ everything else is GPLed
http://www.westfalen.de/private/beck/
Reply to: