STDIN(3) Library Functions Manual STDIN(3) NAME stdin, stdout, stderr - I/O SYNOPSIS #include extern FILE *stdin; extern FILE *stdout; extern FILE *stderr; DESCRIPTION Unix ( tty(4)) ( sh(1) (``Redirection'') ) ``standard input''; ``standard output''; ``standard error'' stdin, stdout, stderr. stdio(3) FILE fprintf(3) fread(3) FILE Unix Unix read(2) lseek(2) stdin, stdout, stderr 01 2 STDIN_FILENOSTDOUT_FILENO STDERR_FILENO FILE (POSIX.1 8.2.3 ) stdio exec stdin, stdout, stderr freopen(3) stdin, stdout, stderr exit(3) SEE ALSO sh(1), csh(1), open(2), fopen(3), stdio(3) CONSIDERATIONS stderr stdout fflush(3) exit(3) () setbuf(3) setvbuf(3) stdin stdio () tcsetattr(3) stty(1), termios(3) CONFORMING TO stdin, stdout, stderr ANSI X3.159-1989 ("ANSI C89") man man https://github.com/man-pages-zh/manpages-zh Linux 2.0 March 24, 1998 Linux 2.0