[PATCH 09/24] pthread_cleanup_push_defer_np.3: Mention feature test macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



One must define _GNU_SOURCE to get pthread_cleanup_push_defer_np and
pthread_cleanup_pop_restore_np.

Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx>
---
 man3/pthread_cleanup_push_defer_np.3 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/man3/pthread_cleanup_push_defer_np.3 b/man3/pthread_cleanup_push_defer_np.3
index 3538dc2..abc8bf8 100644
--- a/man3/pthread_cleanup_push_defer_np.3
+++ b/man3/pthread_cleanup_push_defer_np.3
@@ -29,6 +29,7 @@ pthread_cleanup_push_defer_np, pthread_cleanup_pop_restore_np \- push and pop
 thread cancellation clean-up handlers while saving cancelability type
 .SH SYNOPSIS
 .nf
+.BR "#define _GNU_SOURCE" "             /* See feature_test_macros(7) */"
 .B #include <pthread.h>
 
 .BI "void pthread_cleanup_push_defer_np(void (*" routine ")(void *),"
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux