dev/c/ParallelsTest/tmp.c

11 lines
194 B
C

#include <stdio.h>
int main(int argc, char * argv[]) {
FILE * stream;
int c;
stream = fopen("myfifo","r");
while ((c=fgetc(stream)) != EOF)
printf("%d\n",c);
return (0);
}