Loading...
--- Libc/Libc-498/pthreads/pthread_cleanup_push.3
+++ Libc/Libc-583/pthreads/pthread_cleanup_push.3
@@ -53,6 +53,10 @@
is called, it is passed
.Fa arg
as its only argument.
+.Fn pthread_cleanup_push
+must be paired with a corresponding
+.Xr pthread_cleanup_pop 3
+in the same lexical scope.
.Sh RETURN VALUES
.Fn pthread_cleanup_push
does not return any value.