stdin

The standard input stream

Synopsis:

#include <stdio.h>

FILE * stdin;

Since:

BlackBerry 10.0.0

Description:

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

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

Classification:

ANSI, POSIX 1003.1

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus