Operating systems, development tools, and professional services
for connected embedded systems

Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation

stderr

stderr

The standard error stream

Synopsis:

#include <stdio.h>

FILE * stderr;

Description:

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

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

Classification:

ANSI, POSIX 1003.1

See also:

assert(), err(), errx(), getopt(), herror(), perror(), stdin, stdout, strerror(), verr(), verrx(), vwarn(), vwarnx(), warn(), warnx()