Przeglądałem /usr/include/stdio.hGdzie znaleźć struct _IO_FILE
i natknąłem się na następujący fragment kodu.
/* Standard streams. */
extern struct _IO_FILE *stdin; /* Standard input stream. */
extern struct _IO_FILE *stdout; /* Standard output stream. */
extern struct _IO_FILE *stderr; /* Standard error output stream. */
/* C89/C99 say they're macros. Make them happy. */
#define stdin stdin
#define stdout stdout
#define stderr stderr
Moje pytanie brzmi, gdzie jest ten stucture struct _IO_FILE oświadczył, chcę zobaczyć układ. a także kod wymienia
#define stdin stdin
Jak to ma działać?
Z jakiego systemu operacyjnego/kompilatora korzystasz? – templatetypedef
** System operacyjny: ** 3.2.0-41-generic-pae # 66-Ubuntu SMP Thu Apr 25 03:50:20 UTC 2013 – ArunMKumar
** Kompilator: ** gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 – ArunMKumar