public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] man3/fopencookie.3: Add missing _GNU_SOURCE requirement
@ 2008-12-04 23:22 Petr Baudis
       [not found] ` <20081204232240.GH10491-DDGJ70k9y3lX+M3pkMnKjw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Petr Baudis @ 2008-12-04 23:22 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Signed-off-by: Petr Baudis <pasky-AlSwsSmVLrQ@public.gmane.org>

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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-05 16:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-04 23:22 [PATCH] man3/fopencookie.3: Add missing _GNU_SOURCE requirement Petr Baudis
     [not found] ` <20081204232240.GH10491-DDGJ70k9y3lX+M3pkMnKjw@public.gmane.org>
2008-12-05 16:34   ` Michael Kerrisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox