[PATCH] getline(3) was added to POSIX 2008

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

 



Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
---
 man3/getline.3 |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/man3/getline.3 b/man3/getline.3
index 2687809..622b5c8 100644
--- a/man3/getline.3
+++ b/man3/getline.3
@@ -26,7 +26,6 @@
 getline, getdelim \- delimited string input
 .SH SYNOPSIS
 .nf
-.B #define _GNU_SOURCE
 .B #include <stdio.h>
 .sp
 .BI "ssize_t getline(char **" lineptr ", size_t *" n ", FILE *" stream );
@@ -113,11 +112,10 @@ Both
 .BR getline ()
 and
 .BR getdelim ()
-are GNU extensions.
+were added in POSIX.1-2008.
 They are available since libc 4.6.27.
 .SH "EXAMPLE"
 .nf
-#define _GNU_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
 
-- 
1.6.5.1

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