STDIN, STDOUT, STDERR


These three file pointers are automatically defined when a program executes and provide access to the keyboard and screen.

stdin

By default stdin accesses the keyboard. Funktionen that read stdin include... The following functions can access stdin stdin example program.

stdout

stdout sends data to the screen. Funktionen that write to stdout include....

stderr

stderr also writes to the screen. If you are using a Unix based system the data sent to stdout and stderr can be seperated and sent to different places. Funktionen that could write to stderr include...

Anfang Hauptindex C Schlüsselwörter Funktionen


If you wish to create file pointers to perform I/O to other devices you should use fopen
Übers.: G. Junghanns