Declaration
Declared in stdio.h
FILE *stdin; FILE *stdout; FILE *stderr;
Description
These three streams are open at program start. stdin
can be read from and the other two can be written to. If they are connected to an interactive device, stdin
and stdout
are in line buffered mode, otherwise they are in fully buffered mode. stderr
is always in unbuffered mode. All three are open in text mode.