X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fgetchar.c;h=406abe434f9dd4fefc3899eb13bf7c6794c9265c;hb=84d648157e22cecc65902ecfdd4e3a1b88d5e53f;hp=16037287f9d166ada249d915bbd3c00492731a97;hpb=fce9a8538009ea5c113b03c608cedf036ce4a364;p=pdclib.old 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 );