_SC_PAGESIZE is not the page size; it's a symbolic code for retrieving
the page size.
This commit is contained in:
parent
c586dc1f9c
commit
eb0c9743f2
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: pthread_attr_getguardsize.3,v 1.2 2010/07/08 18:24:34 wiz Exp $
|
||||
.\" $NetBSD: pthread_attr_getguardsize.3,v 1.3 2016/04/07 06:21:48 dholland Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2010 Jukka Ruohonen <jruohonen@iki.fi>
|
||||
.\" All rights reserved.
|
||||
@ -66,9 +66,12 @@ In
|
||||
.Nx
|
||||
the default
|
||||
.Fa guardsize
|
||||
is
|
||||
.Dv _SC_PAGESIZE ,
|
||||
the system page size.
|
||||
is the system page size.
|
||||
(This value is often 4096 bytes but varies on some ports; the
|
||||
precise value can be retrieved by using
|
||||
.Xr sysconf 3
|
||||
with
|
||||
.Dv _SC_PAGESIZE . )
|
||||
.Pp
|
||||
The rationale behind
|
||||
.Fa guardsize
|
||||
|
Loading…
Reference in New Issue
Block a user