]> pd.if.org Git - pdclib/blobdiff - functions/stdio/getchar.c
PDCLIB-16: Add _unlocked variations of all I/O routines; move work into these versions
[pdclib] / functions / stdio / getchar.c
index 16037287f9d166ada249d915bbd3c00492731a97..406abe434f9dd4fefc3899eb13bf7c6794c9265c 100644 (file)
 
 #ifndef REGTEST
 
+int getchar_unlocked( void )
+{
+    return fgetc_unlocked( stdin );
+}
+
+
 int getchar( void )
 {
     return fgetc( stdin );