Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: stdio.h

__stdin()

IMPORT_C FILE *__stdin(void);

Description

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.

Return value

FILE *