From 3582e9068997936ad76d93b3556dd52697473d93 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 27 Oct 2005 11:14:15 +0000 Subject: [PATCH] Reworded text around PAGESIZE, noting also that sysconf(_SC_PAGESIZE) can be used. --- man2/mlock.2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/man2/mlock.2 b/man2/mlock.2 index 5f0da10f1..19b95fe82 100644 --- a/man2/mlock.2 +++ b/man2/mlock.2 @@ -276,9 +276,11 @@ and .BR munlock () are available, .B _POSIX_MEMLOCK_RANGE -is defined in and the value +is defined in and the number of bytes in a page +can be determined from the constant .B PAGESIZE -from indicates the number of bytes per page. +(if defined) in or by calling +.IR sysconf(_SC_PAGESIZE) . On POSIX systems on which .BR mlockall ()