[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

stdout

The standard output stream

Synopsis:

#include <stdio.h>

FILE * stdout;

Description:

This global variable defines the standard output stream. It's set to the console by default, but you can redirect it by calling freopen().

STDOUT_FILENO, which is defined in <unistd.h>, defines the file descriptor that corresponds to stdout.

Classification:

ANSI, POSIX 1003.1

See also:

fputchar(), printf(), putchar(), putchar_unlocked(), puts(), putwchar(), stderr, stdin, vprintf(), vwprintf(), wprintf()


[Previous] [Contents] [Index] [Next]