fopencookie.3: fopencookie() needs _GNU_SOURCE feature test macro

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Petr Baudis 2008-12-05 11:34:02 -05:00 committed by Michael Kerrisk
parent 5f0aa64a2e
commit a2f86747f1
1 changed files with 4 additions and 2 deletions

View File

@ -21,11 +21,12 @@
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.TH FOPENCOOKIE 2 2008-09-10 "Linux" "Linux Programmer's Manual"
.TH FOPENCOOKIE 2 2008-12-05 "Linux" "Linux Programmer's Manual"
.SH NAME
fopencookie \- opening a custom stream
.SH SYNOPSIS
.nf
.B #define _GNU_SOURCE
.B #include <stdio.h>
.BI "FILE *fopencookie(void *" cookie ", const char *" mode ,
@ -434,4 +435,5 @@ main(int argc, char *argv[])
.BR fclose (3),
.BR fmemopen (3),
.BR fopen (3),
.BR fseek (3)
.BR fseek (3),
.BR feature_test_macros (7)