Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108567151
D35352.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
634 B
Referenced Files
None
Subscribers
None
D35352.diff
View Options
diff --git a/lib/libc/gen/getpagesize.3 b/lib/libc/gen/getpagesize.3
--- a/lib/libc/gen/getpagesize.3
+++ b/lib/libc/gen/getpagesize.3
@@ -28,7 +28,7 @@
.\" @(#)getpagesize.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd April 26, 2017
+.Dd June 1, 2022
.Dt GETPAGESIZE 3
.Os
.Sh NAME
@@ -51,9 +51,17 @@
The page size is a system
page size and may not be the same as the underlying
hardware page size.
+.Pp
+.St -p1003.1-2001
+removed
+.Nm .
+Portable applications should use
+.Ql sysconf(_SC_PAGESIZE)
+instead.
.Sh SEE ALSO
.Xr pagesize 1 ,
-.Xr sbrk 2
+.Xr sbrk 2 ,
+.Xr sysconf 3
.Sh HISTORY
The
.Fn getpagesize
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 27, 10:34 AM (4 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16194323
Default Alt Text
D35352.diff (634 B)
Attached To
Mode
D35352: getpagesize(3): add .Xr to sysconf(3)
Attached
Detach File
Event Timeline
Log In to Comment