Noted that sysconf(_SC_PAGE_SIZE) is preferred in portable applications.

This commit is contained in:
Michael Kerrisk 2006-10-02 04:54:09 +00:00
parent 96d969a22a
commit 9ec86f2990
1 changed files with 4 additions and 1 deletions

View File

@ -62,8 +62,11 @@ SVr4, 4.4BSD, SUSv2.
In SUSv2 the
.BR getpagesize ()
call is labeled LEGACY, and in POSIX.1-2001
it has been dropped.
it has been dropped;
HP-UX does not have this call.
Portable applications should employ
.I sysconf(_SC_PAGESIZE)
instead of this call.
.SH NOTES
Whether
.BR getpagesize ()