Home | History | Annotate | Download | only in examples

Lines Matching refs:stdin

18 /* takes a stereo 16bit 44.1kHz WAV file from stdin and encodes it into
30 #ifdef _WIN32 /* We need the following two to set stdin/stdout to binary */
62 /* this also lets the user set stdin and stdout */
69 #ifdef _WIN32 /* We need to set stdin/stdout to binary mode. Damn windows. */
74 _setmode( _fileno( stdin ), _O_BINARY );
84 for (i=0, founddata=0; i<30 && ! feof(stdin) && ! ferror(stdin); i++)
86 fread(readbuffer,1,2,stdin);
90 fread(readbuffer,1,6,stdin);
182 long bytes=fread(readbuffer,1,READ*4,stdin); /* stereo hardwired here */