Deleted Added
full compact
pthread_cancel.3 (84306) pthread_cancel.3 (110442)
1.\" $FreeBSD: head/share/man/man3/pthread_cancel.3 84306 2001-10-01 16:09:29Z ru $
1.\" $FreeBSD: head/share/man/man3/pthread_cancel.3 110442 2003-02-06 11:10:32Z charnier $
2.Dd January 17, 1999
3.Dt PTHREAD_CANCEL 3
4.Os
5.Sh NAME
6.Nm pthread_cancel
7.Nd cancel execution of a thread
8.Sh LIBRARY
9.Lb libc_r

--- 36 unchanged lines hidden (view full) ---

46.Dv NULL .
47.Sh RETURN VALUES
48If successful, the
49.Fn pthread_cancel
50functions will return zero.
51Otherwise an error number will be returned to
52indicate the error.
53.Sh ERRORS
2.Dd January 17, 1999
3.Dt PTHREAD_CANCEL 3
4.Os
5.Sh NAME
6.Nm pthread_cancel
7.Nd cancel execution of a thread
8.Sh LIBRARY
9.Lb libc_r

--- 36 unchanged lines hidden (view full) ---

46.Dv NULL .
47.Sh RETURN VALUES
48If successful, the
49.Fn pthread_cancel
50functions will return zero.
51Otherwise an error number will be returned to
52indicate the error.
53.Sh ERRORS
54The
54.Fn pthread_cancel
55.Fn pthread_cancel
55will fail if:
56function will fail if:
56.Bl -tag -width Er
57.It Bq Er ESRCH
58No thread could be found corresponding to that specified by the given
59thread ID.
60.El
61.Sh SEE ALSO
62.Xr pthread_cleanup_pop 3 ,
63.Xr pthread_cleanup_push 3 ,
64.Xr pthread_exit 3 ,
65.Xr pthread_join 3 ,
66.Xr pthread_setcancelstate 3 ,
67.Xr pthread_setcanceltype 3 ,
68.Xr pthread_testcancel 3
69.Sh STANDARDS
57.Bl -tag -width Er
58.It Bq Er ESRCH
59No thread could be found corresponding to that specified by the given
60thread ID.
61.El
62.Sh SEE ALSO
63.Xr pthread_cleanup_pop 3 ,
64.Xr pthread_cleanup_push 3 ,
65.Xr pthread_exit 3 ,
66.Xr pthread_join 3 ,
67.Xr pthread_setcancelstate 3 ,
68.Xr pthread_setcanceltype 3 ,
69.Xr pthread_testcancel 3
70.Sh STANDARDS
71The
70.Fn pthread_cancel
72.Fn pthread_cancel
71conforms to
73function conforms to
72.St -p1003.1-96 .
73.Sh AUTHORS
74This man page was written by
75.An David Leonard Aq d@openbsd.org
76for the
77.Ox
78implementation of
79.Fn pthread_cancel .
74.St -p1003.1-96 .
75.Sh AUTHORS
76This man page was written by
77.An David Leonard Aq d@openbsd.org
78for the
79.Ox
80implementation of
81.Fn pthread_cancel .