_SC_PAGESIZE is not the page size; it's a symbolic code for retrieving

the page size.
This commit is contained in:
dholland 2016-04-07 06:21:48 +00:00
parent c586dc1f9c
commit eb0c9743f2

View File

@ -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> .\" Copyright (c) 2010 Jukka Ruohonen <jruohonen@iki.fi>
.\" All rights reserved. .\" All rights reserved.
@ -66,9 +66,12 @@ In
.Nx .Nx
the default the default
.Fa guardsize .Fa guardsize
is is the system page size.
.Dv _SC_PAGESIZE , (This value is often 4096 bytes but varies on some ports; the
the system page size. precise value can be retrieved by using
.Xr sysconf 3
with
.Dv _SC_PAGESIZE . )
.Pp .Pp
The rationale behind The rationale behind
.Fa guardsize .Fa guardsize