.\" Copyright (c) 2008 Linux Foundation, written by Michael Kerrisk
.\" <mtk.manpages@gmail.com>
.\"
+.\" %%%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.
.\"
.\" 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
.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 ()
{
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);
}
}
if (allocate_stack && stack_size == \-1)
- usage(argv[0], "Specifying \-a without -s makes no sense\\n");
+ usage(argv[0], "Specifying \-a without \-s makes no sense\\n");
if (argc > optind)
usage(argv[0], "Extraneous command\-line arguments\\n");
}
.fi
.SH SEE ALSO
+.ad l
+.nh
.BR pthread_attr_getaffinity_np (3),
.BR pthread_attr_getdetachstate (3),
.BR pthread_attr_getguardsize (3),
.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/.