pi-lights/socket.c

13 lines
207 B
C

#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
int main(void) {
int ch;
while((ch = getchar()) != EOF){
printf("Char: %c\n", ch);
}
printf("Done\n");
return 0;
}