summaryrefslogtreecommitdiffstats
path: root/man3/get_phys_pages.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man3/get_phys_pages.310
1 files changed, 5 insertions, 5 deletions
diff --git a/man3/get_phys_pages.3 b/man3/get_phys_pages.3
index 71cd4c9..714e397 100644
--- a/man3/get_phys_pages.3
+++ b/man3/get_phys_pages.3
@@ -2,7 +2,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH get_phys_pages 3 2023-05-03 "Linux man-pages 6.05.01"
+.TH get_phys_pages 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
get_phys_pages, get_avphys_pages \- get total and available physical
page counts
@@ -12,7 +12,7 @@ Standard C library
.SH SYNOPSIS
.nf
.B "#include <sys/sysinfo.h>"
-.PP
+.P
.B long get_phys_pages(void);
.B long get_avphys_pages(void);
.fi
@@ -20,7 +20,7 @@ Standard C library
The function
.BR get_phys_pages ()
returns the total number of physical pages of memory available on the system.
-.PP
+.P
The function
.BR get_avphys_pages ()
returns the number of currently available physical pages of memory on the
@@ -56,7 +56,7 @@ The following
.BR sysconf (3)
calls provide a portable means of obtaining the same information as the
functions described on this page.
-.PP
+.P
.in +4n
.EX
total_pages = sysconf(_SC_PHYS_PAGES); /* total pages */
@@ -69,7 +69,7 @@ The following example shows how
and
.BR get_avphys_pages ()
can be used.
-.PP
+.P
.\" SRC BEGIN (get_phys_pages.c)
.EX
#include <stdio.h>