summaryrefslogtreecommitdiff
path: root/src/stdio/getchar_unlocked.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/getchar_unlocked.c')
-rw-r--r--src/stdio/getchar_unlocked.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/stdio/getchar_unlocked.c b/src/stdio/getchar_unlocked.c
new file mode 100644
index 00000000..adeeccbd
--- /dev/null
+++ b/src/stdio/getchar_unlocked.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+
+int getchar_unlocked(void)
+{
+ return getc_unlocked(stdin);
+}
+
+/*
+POSIX(199506)
+*/