#define _POSIX_C_SOURCE 1 #include #include #include int main(void) { char c; printf("Taper un caractere: "); read(0, &c, 1); printf("Caractere lu '%c'\n", c); return EXIT_SUCCESS; }