getpagesizes.3 (197394) | getpagesizes.3 (233648) |
---|---|
1.\" Copyright (c) 2009 Alan L. Cox <alc@cs.rice.edu> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" | 1.\" Copyright (c) 2009 Alan L. Cox <alc@cs.rice.edu> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" |
25.\" $FreeBSD: head/lib/libc/gen/getpagesizes.3 197394 2009-09-21 18:02:02Z alc $ | 25.\" $FreeBSD: head/lib/libc/gen/getpagesizes.3 233648 2012-03-29 05:02:12Z eadler $ |
26.\" 27.Dd September 21, 2009 28.Dt GETPAGESIZES 3 29.Os 30.Sh NAME 31.Nm getpagesizes 32.Nd "get system page sizes" 33.Sh LIBRARY --- 17 unchanged lines hidden (view full) --- 51Otherwise, it assigns up to 52.Fa nelem 53of the system-supported page sizes to consecutive elements of the 54array referenced by 55.Fa pagesize . 56These page sizes are expressed in bytes. 57In this case, 58.Fn getpagesizes | 26.\" 27.Dd September 21, 2009 28.Dt GETPAGESIZES 3 29.Os 30.Sh NAME 31.Nm getpagesizes 32.Nd "get system page sizes" 33.Sh LIBRARY --- 17 unchanged lines hidden (view full) --- 51Otherwise, it assigns up to 52.Fa nelem 53of the system-supported page sizes to consecutive elements of the 54array referenced by 55.Fa pagesize . 56These page sizes are expressed in bytes. 57In this case, 58.Fn getpagesizes |
59returns the number of such page sizes that it assigned to the array. | 59returns the number of such page sizes that it assigned to the array. |
60.Sh RETURN VALUES 61If successful, the 62.Fn getpagesizes 63function returns either the number of page sizes that are supported by 64the system or the number of supported page sizes that it assigned to 65the array referenced by 66.Fa pagesize . 67Otherwise, it returns the value\~\-1 and sets --- 32 unchanged lines hidden --- | 60.Sh RETURN VALUES 61If successful, the 62.Fn getpagesizes 63function returns either the number of page sizes that are supported by 64the system or the number of supported page sizes that it assigned to 65the array referenced by 66.Fa pagesize . 67Otherwise, it returns the value\~\-1 and sets --- 32 unchanged lines hidden --- |