X-Git-Url: https://git.saurik.com/apple/libpthread.git/blobdiff_plain/3a6437e67ee23e43516c71ee42f674e6cfa9dc75..2546420a235d38941a7eed560a8cb61403ecb8e2:/man/pthread_cancel.3 diff --git a/man/pthread_cancel.3 b/man/pthread_cancel.3 index fae332e..1dff4e3 100644 --- a/man/pthread_cancel.3 +++ b/man/pthread_cancel.3 @@ -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 +.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