From: Petr Baudis <pasky-AlSwsSmVLrQ@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH] man3/fopencookie.3: Add missing _GNU_SOURCE requirement
Date: Fri, 5 Dec 2008 00:22:40 +0100 [thread overview]
Message-ID: <20081204232240.GH10491@machine.or.cz> (raw)
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
next reply other threads:[~2008-12-04 23:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-04 23:22 Petr Baudis [this message]
[not found] ` <20081204232240.GH10491-DDGJ70k9y3lX+M3pkMnKjw@public.gmane.org>
2008-12-05 16:34 ` [PATCH] man3/fopencookie.3: Add missing _GNU_SOURCE requirement Michael Kerrisk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081204232240.GH10491@machine.or.cz \
--to=pasky-alswssmvlrq@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox