Help us understand the problem. What is going on with this article?

標準入出力のファイルディスクリプタ

More than 1 year has passed since last update.

よく忘れるのでメモ

数値表現 マクロ@unistd.h
標準入力 0 STDIN_FILENO
標準出力 1 STDOUT_FILENO
標準エラー出力 2 STDERR_FILENO
ファイルポインタ
標準入力 stdin
標準出力 stdout
標準エラー出力 stderr
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away