* [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[parent not found: <20081204232240.GH10491-DDGJ70k9y3lX+M3pkMnKjw@public.gmane.org>]
* Re: [PATCH] man3/fopencookie.3: Add missing _GNU_SOURCE requirement [not found] ` <20081204232240.GH10491-DDGJ70k9y3lX+M3pkMnKjw@public.gmane.org> @ 2008-12-05 16:34 ` Michael Kerrisk 0 siblings, 0 replies; 2+ messages in thread From: Michael Kerrisk @ 2008-12-05 16:34 UTC (permalink / raw) To: Petr Baudis; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA Hi Petr, On Thu, Dec 4, 2008 at 6:22 PM, Petr Baudis <pasky-AlSwsSmVLrQ@public.gmane.org> wrote: > 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), Good spotting to add this, but I moved it to the end of the list. See previous mail. > .BR fmemopen (3), > .BR fopen (3), > .BR fseek (3) Changes applies for 3.15. Thanks! Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ git://git.kernel.org/pub/scm/docs/man-pages/man-pages.git man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html -- 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 [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