]> pd.if.org Git - pdclib.old/blobdiff - functions/stdio/getchar.c
PDCLIB-16: Add _unlocked variations of all I/O routines; move work into these versions
[pdclib.old] / functions / stdio / getchar.c
index a98f6d708fb0d9bd25fe749f8a4446c492292521..406abe434f9dd4fefc3899eb13bf7c6794c9265c 100644 (file)
 
 #ifndef REGTEST
 
+int getchar_unlocked( void )
+{
+    return fgetc_unlocked( stdin );
+}
+
+
 int getchar( void )
 {
     return fgetc( stdin );
@@ -22,7 +28,7 @@ int getchar( void )
 
 int main( void )
 {
-    TESTCASE( NO_TESTDRIVER );
+    /* Testing covered by ftell.c */
     return TEST_RESULTS;
 }