summaryrefslogtreecommitdiff
path: root/lib/libpthread/man
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1998-04-03 09:11:15 +0000
committerJohn Birrell <jb@FreeBSD.org>1998-04-03 09:11:15 +0000
commitbb8a4204244b527f583dd037bdbbb8e1d88eed63 (patch)
treea627f9539d9e9556d529e55e71f93d222529679d /lib/libpthread/man
parent0c168a81b551278ea049c8785f318e0e56d71bde (diff)
Notes
Diffstat (limited to 'lib/libpthread/man')
-rw-r--r--lib/libpthread/man/pthread_detach.310
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libpthread/man/pthread_detach.3 b/lib/libpthread/man/pthread_detach.3
index d2a60dd3bc84..74ecc84d5058 100644
--- a/lib/libpthread/man/pthread_detach.3
+++ b/lib/libpthread/man/pthread_detach.3
@@ -1,4 +1,4 @@
-.\" Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>.
+.\" Copyright (c) 1996-1998 John Birrell <jb@cimlogic.com.au>.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -55,7 +55,9 @@ calls on the same target thread is unspecified.
If successful, the
.Fn pthread_detach
function will return zero. Otherwise an error number will be returned to
-indicate the error.
+indicate the error. Note that the function does not change the value
+of errno as it did for some drafts of the standard. These early drafts
+also passed a pointer to pthread_t as the argument. Beware!
.Sh ERRORS
.Fn pthread_detach
will fail if:
@@ -74,6 +76,6 @@ thread ID,
.Xr pthread_join 3
.Sh STANDARDS
.Fn pthread_detach
-is expected to conform to IEEE
+conforms to ISO/IEC 9945-1 ANSI/IEEE
.Pq Dq Tn POSIX
-Std 1003.1c when it is published.
+Std 1003.1 Second Edition 1996-07-12