about summary refs log tree commit diff
path: root/stdio/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdio/stdio.h')
-rw-r--r--stdio/stdio.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/stdio/stdio.h b/stdio/stdio.h
index eac8bd41b1..7594f13840 100644
--- a/stdio/stdio.h
+++ b/stdio/stdio.h
@@ -684,6 +684,13 @@ getline (char **__lineptr, size_t *__n, FILE *__stream)
 /* Write a string to STREAM.  */
 extern int fputs __P ((__const char *__restrict __s,
 		       FILE *__restrict __stream));
+
+#ifdef __USE_GNU
+/* This function does the same as `fputs' but does not lock the stream.  */
+extern int fputs_unlocked __P ((__const char *__restrict __s,
+				FILE *__restrict __stream));
+#endif
+
 /* Write a string, followed by a newline, to stdout.  */
 extern int puts __P ((__const char *__s));