Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2017 12:53:45 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Ngie Cooper <ngie@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r317315 - head/lib/libc/gen
Message-ID:  <20170423095345.GC57674@kib.kiev.ua>
In-Reply-To: <201704230317.v3N3HWtd040005@repo.freebsd.org>
References:  <201704230317.v3N3HWtd040005@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 23, 2017 at 03:17:32AM +0000, Ngie Cooper wrote:
> 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
getpagesize() cannot fail.  This change only confuses the readers.
>   
>   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?20170423095345.GC57674>