svn commit: r317315 - head/lib/libc/gen

Ngie Cooper ngie at FreeBSD.org
Sun Apr 23 03:17:33 UTC 2017


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


More information about the svn-src-head mailing list