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

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

 



Hi Petr,

On Thu, Dec 4, 2008 at 6:22 PM, Petr Baudis <pasky@xxxxxxx> wrote:
> 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),

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@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