Deleted Added
full compact
pthread_testcancel.3 (267776) pthread_testcancel.3 (280818)
1.\" $FreeBSD: head/share/man/man3/pthread_testcancel.3 267776 2014-06-23 08:27:27Z bapt $
2.Dd June 11, 2013
1.\" $FreeBSD: head/share/man/man3/pthread_testcancel.3 280818 2015-03-29 19:14:41Z kib $
2.Dd March 29, 2015
3.Dt PTHREAD_TESTCANCEL 3
4.Os
5.Sh NAME
6.Nm pthread_setcancelstate ,
7.Nm pthread_setcanceltype ,
8.Nm pthread_testcancel
9.Nd set cancelability state
10.Sh LIBRARY

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

102functions:
103.Fn accept ,
104.Fn accept4 ,
105.Fn aio_suspend ,
106.Fn connect ,
107.Fn close ,
108.Fn creat ,
109.Fn fsync ,
3.Dt PTHREAD_TESTCANCEL 3
4.Os
5.Sh NAME
6.Nm pthread_setcancelstate ,
7.Nm pthread_setcanceltype ,
8.Nm pthread_testcancel
9.Nd set cancelability state
10.Sh LIBRARY

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

102functions:
103.Fn accept ,
104.Fn accept4 ,
105.Fn aio_suspend ,
106.Fn connect ,
107.Fn close ,
108.Fn creat ,
109.Fn fsync ,
110.Fn kevent ,
110.Fn mq_receive ,
111.Fn mq_send ,
112.Fn mq_timedreceive ,
113.Fn mq_timedsend ,
114.Fn msync ,
115.Fn nanosleep ,
116.Fn open ,
117.Fn openat ,

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

142.Fn tcdrain ,
143.Fn usleep ,
144.Fn wait ,
145.Fn wait3 ,
146.Fn wait4 ,
147.Fn waitpid ,
148.Fn write ,
149.Fn writev .
111.Fn mq_receive ,
112.Fn mq_send ,
113.Fn mq_timedreceive ,
114.Fn mq_timedsend ,
115.Fn msync ,
116.Fn nanosleep ,
117.Fn open ,
118.Fn openat ,

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

143.Fn tcdrain ,
144.Fn usleep ,
145.Fn wait ,
146.Fn wait3 ,
147.Fn wait4 ,
148.Fn waitpid ,
149.Fn write ,
150.Fn writev .
151.Pp
150The
151.Fn fcntl
152function is a cancellation point if
153.Fa cmd
154is
155.Dv F_SETLKW .
152The
153.Fn fcntl
154function is a cancellation point if
155.Fa cmd
156is
157.Dv F_SETLKW .
158.Pp
159The
160.Fn kevent
161function is a cancellation point if it is potentially blocking,
162i.e. when the
163.Fa nevents
164argument is non-zero.
156.Sh RETURN VALUES
157If successful, the
158.Fn pthread_setcancelstate
159and
160.Fn pthread_setcanceltype
161functions will return zero.
162Otherwise, an error number shall be returned to
163indicate the error.

--- 80 unchanged lines hidden ---
165.Sh RETURN VALUES
166If successful, the
167.Fn pthread_setcancelstate
168and
169.Fn pthread_setcanceltype
170functions will return zero.
171Otherwise, an error number shall be returned to
172indicate the error.

--- 80 unchanged lines hidden ---