pi-lights/socket.c

13 lines
207 B
C
Raw Normal View History

2017-01-07 17:36:56 -05:00
#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;
}