X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/224c70764cab4e0e39a26aaf3ad3016552f62f55..a28bf75d63c6a64e4c3b417c6052e45f42c6cedd:/pthreads/pthread_cleanup_pop.3 diff --git a/pthreads/pthread_cleanup_pop.3 b/pthreads/pthread_cleanup_pop.3 index 7bbae54..f6d0401 100644 --- a/pthreads/pthread_cleanup_pop.3 +++ b/pthreads/pthread_cleanup_pop.3 @@ -47,6 +47,11 @@ is non-zero, it will execute the function. If there is no cleanup routine, .Fn pthread_cleanup_pop does nothing. +.Pp +.Fn pthread_cleanup_pop +must be paired with a corresponding +.Xr pthread_cleanup_push 3 +in the same lexical scope. .Sh RETURN VALUES .Fn pthread_cleanup_pop does not return any value.