Date: Sun, 23 Apr 2017 03:17:32 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r317315 - head/lib/libc/gen Message-ID: <201704230317.v3N3HWtd040005@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Sun Apr 23 03:17:32 2017 New Revision: 317315 URL: https://svnweb.freebsd.org/changeset/base/317315 Log: Note that getpagesize(3) can return -1 on failure MFC after: 5 weeks Sponsored by: Dell EMC Isilon Modified: head/lib/libc/gen/getpagesize.3 Modified: head/lib/libc/gen/getpagesize.3 ============================================================================== --- head/lib/libc/gen/getpagesize.3 Sun Apr 23 03:16:38 2017 (r317314) +++ head/lib/libc/gen/getpagesize.3 Sun Apr 23 03:17:32 2017 (r317315) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704230317.v3N3HWtd040005>