Module Name: src Committed By: dholland Date: Thu Apr 7 06:21:48 UTC 2016
Modified Files: src/lib/libpthread: pthread_attr_getguardsize.3 Log Message: _SC_PAGESIZE is not the page size; it's a symbolic code for retrieving the page size. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libpthread/pthread_attr_getguardsize.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libpthread/pthread_attr_getguardsize.3 diff -u src/lib/libpthread/pthread_attr_getguardsize.3:1.2 src/lib/libpthread/pthread_attr_getguardsize.3:1.3 --- src/lib/libpthread/pthread_attr_getguardsize.3:1.2 Thu Jul 8 18:24:34 2010 +++ src/lib/libpthread/pthread_attr_getguardsize.3 Thu Apr 7 06:21:48 2016 @@ -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 <jruoho...@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