[PATCH] man3/fopencookie.3: Add missing _GNU_SOURCE requirement

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

 



Signed-off-by: Petr Baudis <pasky@xxxxxxx>

diff --git a/man3/fopencookie.3 b/man3/fopencookie.3
index a69db65..5aadf04 100644
--- a/man3/fopencookie.3
+++ b/man3/fopencookie.3
@@ -26,6 +26,7 @@
 fopencookie \- opening a custom stream
 .SH SYNOPSIS
 .nf
+.B #define _GNU_SOURCE
 .B #include <stdio.h>
 
 .BI "FILE *fopencookie(void *" cookie ", const char *" mode ,
@@ -432,6 +433,7 @@ main(int argc, char *argv[])
 .fi
 .SH SEE ALSO
 .BR fclose (3),
+.BR feature_test_macros (7),
 .BR fmemopen (3),
 .BR fopen (3),
 .BR fseek (3)
--
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