summaryrefslogtreecommitdiffstats
path: root/man3/pthread_attr_setguardsize.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/pthread_attr_setguardsize.3')
-rw-r--r--man3/pthread_attr_setguardsize.326
1 files changed, 13 insertions, 13 deletions
diff --git a/man3/pthread_attr_setguardsize.3 b/man3/pthread_attr_setguardsize.3
index de9e4f2b7..79fb1aa21 100644
--- a/man3/pthread_attr_setguardsize.3
+++ b/man3/pthread_attr_setguardsize.3
@@ -50,15 +50,15 @@ The default guard size is the same as the system page size.
If the stack address attribute has been set in
.I attr
(using
-.BR pthread_attr_setstack (3)
+.MR pthread_attr_setstack 3
or
-.BR pthread_attr_setstackaddr (3)),
+.MR pthread_attr_setstackaddr 3 ),
meaning that the caller is allocating the thread's stack,
then the guard size attribute is ignored
(i.e., no guard area is created by the system):
it is the application's responsibility to handle stack overflow
(perhaps by using
-.BR mprotect (2)
+.MR mprotect 2
to manually define a guard area at the end of the stack
that it has allocated).
.P
@@ -85,7 +85,7 @@ On Linux these functions always succeed
handle a possible error return).
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
-.BR attributes (7).
+.MR attributes 7 .
.TS
allbox;
lbx lb lb
@@ -133,7 +133,7 @@ as POSIX.1 requires.
(This can result in an
.B EINVAL
error from
-.BR pthread_create (3)
+.MR pthread_create 3
if the guard size value is too large,
leaving no space for the actual stack.)
.P
@@ -152,12 +152,12 @@ allocating extra space at the end of the stack for the guard area.
.\" http://sourceware.org/ml/libc-alpha/2008-05/msg00086.html
.SH EXAMPLES
See
-.BR pthread_getattr_np (3).
+.MR pthread_getattr_np 3 .
.SH SEE ALSO
-.BR mmap (2),
-.BR mprotect (2),
-.BR pthread_attr_init (3),
-.BR pthread_attr_setstack (3),
-.BR pthread_attr_setstacksize (3),
-.BR pthread_create (3),
-.BR pthreads (7)
+.MR mmap 2 ,
+.MR mprotect 2 ,
+.MR pthread_attr_init 3 ,
+.MR pthread_attr_setstack 3 ,
+.MR pthread_attr_setstacksize 3 ,
+.MR pthread_create 3 ,
+.MR pthreads 7