]> git.saurik.com Git - apple/libpthread.git/blobdiff - man/pthread_cancel.3
libpthread-218.1.3.tar.gz
[apple/libpthread.git] / man / pthread_cancel.3
index fae332ed50edecdae10aaf4df9804904acd8bd8f..1dff4e320e783b32b03e186af6afbf8bc83f2498 100644 (file)
@@ -1,4 +1,4 @@
-.\" $FreeBSD: src/lib/libc_r/man/pthread_cancel.3,v 1.3.2.3 2001/03/06 16:46:08 ru Exp $
+.\" $FreeBSD$
 .Dd January 17, 1999
 .Dt PTHREAD_CANCEL 3
 .Os
@@ -6,7 +6,7 @@
 .Nm pthread_cancel
 .Nd cancel execution of a thread
 .Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
 .Ft int
 .Fn pthread_cancel "pthread_t thread"
 .Sh DESCRIPTION
@@ -43,14 +43,15 @@ expands to a constant expression of type
 whose value matches no pointer to an object in memory nor the value
 .Dv NULL .
 .Sh RETURN VALUES
-If successful,  the
+If successful, the
 .Fn pthread_cancel
 functions will return zero.
 Otherwise an error number will be returned to
 indicate the error.
 .Sh ERRORS
+The
 .Fn pthread_cancel
-will fail if:
+function will fail if:
 .Bl -tag -width Er
 .It Bq Er ESRCH
 No thread could be found corresponding to that specified by the given
@@ -65,12 +66,13 @@ thread ID.
 .Xr pthread_setcanceltype 3 ,
 .Xr pthread_testcancel 3
 .Sh STANDARDS
+The
 .Fn pthread_cancel
-conforms to
+function conforms to
 .St -p1003.1-96 .
 .Sh AUTHORS
-This man page was written by
-.An David Leonard Aq d@openbsd.org
+This manual page was written by
+.An David Leonard Aq Mt d@openbsd.org
 for the
 .Ox
 implementation of