~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man3/pthread_attr_setdetachstate.3

  • Committer: Bazaar Package Importer
  • Author(s): Joey Schulze
  • Date: 2010-03-02 21:49:58 UTC
  • mfrom: (1.1.42 upstream) (2.2.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100302214958-69yjgb70t7wrjo3m
New upstream version
. Remove crufty statement in setuid(2) that seteuid() is not in POSIX
(closes: Bug#569812)
. Fix description of 'nochdir' argument in daemon(3) (closes: Bug#554819)
. Fix NAME line in path_resolution(7) (closes: Bug#558300)

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
.\" Formatted or processed versions of this manual, if unaccompanied by
22
22
.\" the source, must acknowledge the copyright and authors of this work.
23
23
.\"
24
 
.TH PTHREAD_ATTR_SETDETACHSTATE 3 2008-10-24 "Linux" "Linux Programmer's Manual"
 
24
.TH PTHREAD_ATTR_SETDETACHSTATE 3 2010-02-03 "Linux" "Linux Programmer's Manual"
25
25
.SH NAME
26
26
pthread_attr_setdetachstate, pthread_attr_getdetachstate \-
27
27
set/get detach state attribute in thread attributes object
40
40
.BR pthread_attr_setdetachstate ()
41
41
function sets the detach state attribute of the
42
42
thread attributes object referred to by
43
 
.IR thread
 
43
.IR attr
44
44
to the value specified in
45
45
.IR detachstate .
46
46
The detach state attribute determines whether a thread created using
73
73
.IR detachstate .
74
74
.SH RETURN VALUE
75
75
On success, these functions return 0;
76
 
on error, they return a non-zero error number.
 
76
on error, they return a nonzero error number.
77
77
.SH ERRORS
78
78
.BR pthread_attr_setdetachstate (3)
79
79
can fail with the following error:
112
112
.BR pthread_join (3),
113
113
.BR pthreads (7)
114
114
.SH COLOPHON
115
 
This page is part of release 3.23 of the Linux
 
115
This page is part of release 3.24 of the Linux
116
116
.I man-pages
117
117
project.
118
118
A description of the project,