stavo guardando attraverso /usr/include/stdio.hDove trovare struct _IO_FILE
e capitato di venire attraverso il seguente pezzo di codice.
/* 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
La mia domanda è, dove si trova questo stucture struct _IO_FILE dichiarato, voglio vedere il layout. e anche il codice menziona
#define stdin stdin
Come si suppone che funzioni?
Quale sistema operativo/compilatore stai utilizzando? – templatetypedef
** Sistema operativo: ** 3.2.0-41-generic-pae # 66-Ubuntu SMP Gio 25 Apr 03:50:20 UTC 2013 – ArunMKumar
** Compiler: ** GCC (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 – ArunMKumar