linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] getline(3) was added to POSIX 2008
@ 2009-11-04 21:40 Mike Frysinger
       [not found] ` <1257370830-12899-1-git-send-email-vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Frysinger @ 2009-11-04 21:40 UTC (permalink / raw)
  To: Michael Kerrisk; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Signed-off-by: Mike Frysinger <vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
---
 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-12-05 15:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-04 21:40 [PATCH] getline(3) was added to POSIX 2008 Mike Frysinger
     [not found] ` <1257370830-12899-1-git-send-email-vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
2009-11-05 12:07   ` Andi Kleen
     [not found]     ` <87fx8t89aa.fsf-3rXA9MLqAseW/qJFnhkgxti2O/JbrIOy@public.gmane.org>
2009-11-06 19:41       ` Mike Frysinger
2009-12-05 15:01   ` Michael Kerrisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).