diff options
Diffstat (limited to 'man2/getpagesize.2')
-rw-r--r-- | man2/getpagesize.2 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/man2/getpagesize.2 b/man2/getpagesize.2 index 6f3b54b..25fcbcd 100644 --- a/man2/getpagesize.2 +++ b/man2/getpagesize.2 @@ -2,7 +2,7 @@ .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" -.TH getpagesize 2 2023-03-30 "Linux man-pages 6.05.01" +.TH getpagesize 2 2023-10-31 "Linux man-pages 6.7" .SH NAME getpagesize \- get memory page size .SH LIBRARY @@ -11,15 +11,15 @@ Standard C library .SH SYNOPSIS .nf .B #include <unistd.h> -.PP +.P .B int getpagesize(void); .fi -.PP +.P .RS -4 Feature Test Macro Requirements for glibc (see .BR feature_test_macros (7)): .RE -.PP +.P .BR getpagesize (): .nf Since glibc 2.20: @@ -52,19 +52,19 @@ Portable applications should employ .I sysconf(_SC_PAGESIZE) instead of .BR getpagesize (): -.PP +.P .in +4n .EX #include <unistd.h> long sz = sysconf(_SC_PAGESIZE); .EE .in -.PP +.P (Most systems allow the synonym .B _SC_PAGE_SIZE for .BR _SC_PAGESIZE .) -.PP +.P Whether .BR getpagesize () is present as a Linux system call depends on the architecture. |