From 77ccaba1fa58f871e797ced648c2966842e477db Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 5 Jul 1998 11:57:59 +0000 Subject: Update. 1998-07-05 11:54 Ulrich Drepper * Versions: Add pthread_attr_init ti GLIBC_2.1 version in libc. --- libio/stdio.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libio/stdio.h') 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)); -- cgit 1.4.1