
![]() |
![]() |
|
Location:
stdio.h
IMPORT_C FILE *__stdin(void);
Function interface to the "constants" stdin, stdout and stderr. These functions guarantee to return a fixed value, so that it will be possible to use expressions such as if (fp != stdout) fclose(fp);
with complete confidence. Unfortunately it will rule out initialising global variables with stdin/stdout/stderr, as in the common idiom:
static FILE *log = stderr;
This isn't currently possible with EPOC32.
|