From 3c3e9e1035a1b080f21f9cf6d3c34ed55e23e33e Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Sun, 23 Apr 2017 03:17:32 +0000 Subject: [PATCH] Note that getpagesize(3) can return -1 on failure MFC after: 5 weeks Sponsored by: Dell EMC Isilon --- lib/libc/gen/getpagesize.3 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/libc/gen/getpagesize.3 b/lib/libc/gen/getpagesize.3 index ff057df8c01..cf577d72414 100644 --- 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 June 4, 1993 +.Dd April 22, 2017 .Dt GETPAGESIZE 3 .Os .Sh NAME @@ -51,6 +51,9 @@ management calls. The page size is a system page size and may not be the same as the underlying hardware page size. +.Sh RETURN VALUES +.Nm +returns the number of bytes in a page on success, -1 on failure. .Sh SEE ALSO .Xr pagesize 1 , .Xr sbrk 2