~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man2/getpagesize.2

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2010-11-17 16:35:58 UTC
  • mfrom: (1.1.45 upstream) (2.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20101117163558-9h3ho5jumqm3rdmd
Tags: 3.27-1ubuntu1
* Merge from Debian unstable; remaining changes:
  - ptrace.2, prctl.2: document Ubuntu-specific PTRACE_ATTACH,
    PR_SET_PTRACER behavior.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
.\" Formatted or processed versions of this manual, if unaccompanied by
21
21
.\" the source, must acknowledge the copyright and authors of this work.
22
22
.\"
23
 
.TH GETPAGESIZE 2 2007-07-26 "Linux" "Linux Programmer's Manual"
 
23
.TH GETPAGESIZE 2 2010-09-20 "Linux" "Linux Programmer's Manual"
24
24
.SH NAME
25
25
getpagesize \- get memory page size
26
26
.SH SYNOPSIS
34
34
.in
35
35
.sp
36
36
.BR getpagesize ():
37
 
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
 
37
.ad l
 
38
.RS 4
 
39
.PD 0
 
40
.TP 4
 
41
Since glibc 2.12:
 
42
.nf
 
43
_BSD_SOURCE ||
 
44
    !(_POSIX_C_SOURCE\ >=\ 200112L || _XOPEN_SOURCE\ >=\ 600)
 
45
.TP 4
 
46
.fi
 
47
Before glibc 2.12:
 
48
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
 
49
_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
 
50
.PD
 
51
.RE
 
52
.ad b
38
53
.SH DESCRIPTION
39
54
The function
40
55
.BR getpagesize ()
102
117
.BR mmap (2),
103
118
.BR sysconf (3)
104
119
.SH COLOPHON
105
 
This page is part of release 3.26 of the Linux
 
120
This page is part of release 3.27 of the Linux
106
121
.I man-pages
107
122
project.
108
123
A description of the project,