I am trying to redirect standard input to be a file, unfortunately I have not been succesful.
My command in unix to execute my c applicacion is:
a.out < file.something
However, I receive a segmentation error.
my c code to read that standard in is here:
printf("Contents %c", s);