X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=original%2Fman3%2Fpthread_getattr_np.3;h=69056fd37bd6f467004d6e9aeeb7bcdbcd835e26;hb=c22bb444e1a8f4a0e08a82e80ea4ad06593869da;hp=b8d4dfbdff058245713d8b9d56acd83d1cf44045;hpb=c36e46862ca474ca83b4f2748e88f1ad8d1550b9;p=linuxjm%2FLDP_man-pages.git diff --git a/original/man3/pthread_getattr_np.3 b/original/man3/pthread_getattr_np.3 index b8d4dfbd..69056fd3 100644 --- a/original/man3/pthread_getattr_np.3 +++ b/original/man3/pthread_getattr_np.3 @@ -1,6 +1,7 @@ .\" Copyright (c) 2008 Linux Foundation, written by Michael Kerrisk .\" .\" +.\" %%%LICENSE_START(VERBATIM) .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. @@ -20,6 +21,7 @@ .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. +.\" %%%LICENSE_END .\" .TH PTHREAD_GETATTR_NP 3 2010-09-10 "Linux" "Linux Programmer's Manual" .SH NAME @@ -32,6 +34,7 @@ pthread_getattr_np \- get attributes of created thread .BI "int pthread_getattr_np(pthread_t " thread ", pthread_attr_t *" attr ); .sp Compile and link with \fI\-pthread\fP. +.fi .SH DESCRIPTION The .BR pthread_getattr_np () @@ -240,8 +243,8 @@ usage(char *pname, char *msg) { if (msg != NULL) fputs(msg, stderr); - fprintf(stderr, "Usage: %s [\-s stack-size [\-a]]" - " [\-g guard-size]\\n", pname); + fprintf(stderr, "Usage: %s [\-s stack\-size [\-a]]" + " [\-g guard\-size]\\n", pname); fprintf(stderr, "\\t\\t\-a means program should allocate stack\\n"); exit(EXIT_FAILURE); } @@ -340,6 +343,8 @@ main(int argc, char *argv[]) } .fi .SH SEE ALSO +.ad l +.nh .BR pthread_attr_getaffinity_np (3), .BR pthread_attr_getdetachstate (3), .BR pthread_attr_getguardsize (3), @@ -353,3 +358,12 @@ main(int argc, char *argv[]) .BR pthread_attr_init (3), .BR pthread_create (3), .BR pthreads (7) +.SH COLOPHON +This page is part of release 3.67 of the Linux +.I man-pages +project. +A description of the project, +information about reporting bugs, +and the latest version of this page, +can be found at +\%http://www.kernel.org/doc/man\-pages/.