Replace stdout with STDOUT_FILENO const.

This commit is contained in:
Night Kaly 2024-10-02 15:24:35 +01:00
parent f1b97c1fdb
commit 899f39f59e
Signed by: night0721
GPG key ID: 957D67B8DB7A119B

2
ace.c
View file

@ -64,7 +64,7 @@ int main()
}
printf("\nHit (h) or stand (s)? ");
fflush(stdout);
fflush(STDOUT_FILENO);
char action;
read(STDIN_FILENO, &action, 1);