OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man2 / sysinfo.2
index 9083996..df05b68 100644 (file)
@@ -1,17 +1,17 @@
-.\" -*- nroff -*-
-.\"
 .\" Copyright (C) 1993 by Dan Miner (dminer@nyx.cs.du.edu)
 .\"
+.\" %%%LICENSE_START(FREELY_REDISTRIBUTABLE)
 .\"  Permission is granted to freely distribute or modify this file
 .\"  for the purpose of improving Linux or its documentation efforts.
 .\"  If you modify this file, please put a date stamp and HOW you
 .\"  changed this file.  Thanks.   -DM
+.\" %%%LICENSE_END
 .\"
 .\" Modified Sat Jul 24 12:35:12 1993 by Rik Faith <faith@cs.unc.edu>
 .\" Modified Tue Oct 22 22:29:51 1996 by Eric S. Raymond <esr@thyrsus.com>
-.\" Modified Mon Aug 25 16:06:11 1997 by Nicolás Lichtmaier <nick@debian.org>
+.\" Modified Mon Aug 25 16:06:11 1997 by Nicolás Lichtmaier <nick@debian.org>
 .\"
-.TH SYSINFO 2 2012-05-05 "Linux" "Linux Programmer's Manual"
+.TH SYSINFO 2 2014-08-19 "Linux" "Linux Programmer's Manual"
 .SH NAME
 sysinfo \- returns information on overall system statistics
 .SH SYNOPSIS
@@ -71,7 +71,7 @@ and the sizes are given as multiples of \fImem_unit\fP bytes.
 provides a simple way of getting overall system statistics.
 This is more
 portable than reading \fI/dev/kmem\fP.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 On success, zero is returned.
 On error, \-1 is returned, and
 .I errno
@@ -80,16 +80,21 @@ is set appropriately.
 .TP
 .B EFAULT
 pointer to \fIstruct\ sysinfo\fP is invalid
-.SH "CONFORMING TO"
-This function is Linux-specific, and should not be used in programs
-intended to be portable.
-.sp
+.SH VERSIONS
 The Linux kernel has a
 .BR sysinfo ()
 system call since 0.98.pl6.
-Linux libc contains a
-.BR sysinfo ()
-routine since 5.3.5, and
-glibc has one since 1.90.
-.SH "SEE ALSO"
+.SH CONFORMING TO
+This function is Linux-specific, and should not be used in programs
+intended to be portable.
+.SH SEE ALSO
 .BR proc (5)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.