aboutsummaryrefslogtreecommitdiff
path: root/libio/stdio.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-05 11:57:59 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-05 11:57:59 +0000
commit77ccaba1fa58f871e797ced648c2966842e477db (patch)
treefec432e9338d6956a0a9b6e5a03d330ff580bb06 /libio/stdio.h
parenteb27c43f02ec7890c19f424de458df903745db5d (diff)
downloadglibc-77ccaba1fa58f871e797ced648c2966842e477db.tar
glibc-77ccaba1fa58f871e797ced648c2966842e477db.tar.gz
glibc-77ccaba1fa58f871e797ced648c2966842e477db.tar.bz2
glibc-77ccaba1fa58f871e797ced648c2966842e477db.zip
Update.
1998-07-05 11:54 Ulrich Drepper <drepper@cygnus.com> * Versions: Add pthread_attr_init ti GLIBC_2.1 version in libc.
Diffstat (limited to 'libio/stdio.h')
-rw-r--r--libio/stdio.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libio/stdio.h b/libio/stdio.h
index e716cee61e..b220e41081 100644
--- a/libio/stdio.h
+++ b/libio/stdio.h
@@ -476,6 +476,12 @@ extern int putw __P ((int __w, FILE *__stream));
extern char *fgets __P ((char *__restrict __s, int __n,
FILE *__restrict __stream));
+#ifdef __USE_GNU
+/* This function does the same as `fgets' but does not lock the stream. */
+extern char *fgets_unlocked __P ((char *__restrict __s, int __n,
+ FILE *__restrict __stream));
+#endif
+
/* Get a newline-terminated string from stdin, removing the newline.
DO NOT USE THIS FUNCTION!! There is no limit on how much it will read. */
extern char *gets __P ((char *__s));