#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);
}