OSDN Git Service

(split) LDP: Update original to LDP v3.38.
[linuxjm/LDP_man-pages.git] / original / man3 / pthread_attr_setstacksize.3
index 6f2e165..8651c40 100644 (file)
@@ -21,7 +21,7 @@
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
 .\"
-.TH PTHREAD_ATTR_SETSTACKSIZE 3 2008-11-05 "Linux" "Linux Programmer's Manual"
+.TH PTHREAD_ATTR_SETSTACKSIZE 3 2012-03-15 "Linux" "Linux Programmer's Manual"
 .SH NAME
 pthread_attr_setstacksize, pthread_attr_getstacksize \- set/get stack size
 attribute in thread attributes object
@@ -35,6 +35,7 @@ attribute in thread attributes object
 ", size_t *" stacksize );
 .sp
 Compile and link with \fI\-pthread\fP.
+.fi
 .SH DESCRIPTION
 The
 .BR pthread_attr_setstacksize ()
@@ -79,9 +80,6 @@ is not a multiple of the system page size.
 These functions are provided by glibc since version 2.1.
 .SH CONFORMING TO
 POSIX.1-2001.
-.SH EXAMPLE
-See
-.BR pthread_create (3).
 .SH NOTES
 For details on the default stack size of new threads, see
 .BR pthread_create (3).
@@ -105,6 +103,9 @@ in violation of POSIX.1-2001, which says that the allocated stack will
 be at least
 .I stacksize
 bytes.
+.SH EXAMPLE
+See
+.BR pthread_create (3).
 .SH SEE ALSO
 .BR getrlimit (2),
 .BR pthread_attr_init (3),