projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
define new library function getgrouplist
[unix-history]
/
usr
/
src
/
lib
/
libc
/
gen
/
getpagesize.3
diff --git
a/usr/src/lib/libc/gen/getpagesize.3
b/usr/src/lib/libc/gen/getpagesize.3
index
b0983bc
..
7a7d4fe
100644
(file)
--- a/
usr/src/lib/libc/gen/getpagesize.3
+++ b/
usr/src/lib/libc/gen/getpagesize.3
@@
-1,30
+1,35
@@
-.\" Copyright (c) 1983 The Regents of the University of California.
+.\" Copyright (c) 1983
, 1991
The Regents of the University of California.
.\" All rights reserved.
.\"
.\" %sccs.include.redist.man%
.\"
.\" All rights reserved.
.\"
.\" %sccs.include.redist.man%
.\"
-.\"
@(#)getpagesize.3 6.3
(Berkeley) %G%
+.\"
@(#)getpagesize.3 6.4
(Berkeley) %G%
.\"
.\"
-.TH GETPAGESIZE 2 ""
-.UC 5
-.SH NAME
-getpagesize \- get system page size
-.SH SYNOPSIS
-.nf
-.ft B
-pagesize = getpagesize()
-int pagesize;
-.ft R
-.fi
-.SH DESCRIPTION
-.I Getpagesize
+.Dd
+.Dt GETPAGESIZE 2
+.Os BSD 4.2
+.Sh NAME
+.Nm getpagesize
+.Nd get system page size
+.Sh SYNOPSIS
+.Fd #include <unistd.h>
+.Ft int
+.Fn getpagesize void
+.Sh DESCRIPTION
+.Fn Getpagesize
returns the number of bytes in a page.
Page granularity is the granularity of many of the memory
management calls.
returns the number of bytes in a page.
Page granularity is the granularity of many of the memory
management calls.
-.P
P
+.P
p
The page size is a
The page size is a
-.
I
system
+.
Xr
system
page size and may not be the same as the underlying
hardware page size.
page size and may not be the same as the underlying
hardware page size.
-.SH SEE ALSO
-sbrk(2), pagesize(1)
+.Sh SEE ALSO
+.Xr sbrk 2 ,
+.Xr pagesize 1
+.Sh HISTORY
+The
+.Nm
+function call appeared in
+.Bx 4.2 .