.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
-.TH PTHREAD_TESTCANCEL 3 2015-08-08 "Linux" "Linux Programmer's Manual"
+.TH PTHREAD_TESTCANCEL 3 2017-09-15 "Linux" "Linux Programmer's Manual"
.SH NAME
pthread_testcancel \- request delivery of any pending cancellation request
.SH SYNOPSIS
creates a cancellation point within the calling thread,
so that a thread that is otherwise executing code that contains
no cancellation points will respond to a cancellation request.
-
+.PP
If cancelability is disabled (using
.BR pthread_setcancelstate (3)),
or no cancellation request is pending,