X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Fgetchar.c;h=406abe434f9dd4fefc3899eb13bf7c6794c9265c;hp=16037287f9d166ada249d915bbd3c00492731a97;hb=6ca24b75c75b9c6f22e1e69693d326b8e3330841;hpb=6cb7e8dab67e8807aad79c3bdc8f96d78a5e5dbc diff --git a/functions/stdio/getchar.c b/functions/stdio/getchar.c index 1603728..406abe4 100644 --- a/functions/stdio/getchar.c +++ b/functions/stdio/getchar.c @@ -10,6 +10,12 @@ #ifndef REGTEST +int getchar_unlocked( void ) +{ + return fgetc_unlocked( stdin ); +} + + int getchar( void ) { return fgetc( stdin );