summaryrefslogtreecommitdiff
path: root/libc/stdio/fgets_unlocked.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/fgets_unlocked.c')
-rw-r--r--libc/stdio/fgets_unlocked.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libc/stdio/fgets_unlocked.c b/libc/stdio/fgets_unlocked.c
new file mode 100644
index 000000000..db0191305
--- /dev/null
+++ b/libc/stdio/fgets_unlocked.c
@@ -0,0 +1,14 @@
+/* Copyright (C) 2004 Manuel Novoa III <mjn3@uclibc.org>
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ *
+ * Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
+ */
+
+#include <features.h>
+
+#ifdef __USE_GNU
+# define __DO_UNLOCKED
+# include "fgets.c"
+#endif