この記事は検証可能な参考文献や出典が全く示されていないか、不十分です。出典を追加して記事の信頼性向上にご協力ください。(このテンプレートの使い方)
出典検索?: "入出力"
オペレーティングシステム
主要項目
プロセス管理
割り込み
メモリ管理
ファイルシステム
デバイスドライバ
ネットワーク
セキュリティ
グラフィカルユーザインタフェース
入出力
.mw-parser-output .hlist ul,.mw-parser-output .hlist ol{padding-left:0}.mw-parser-output .hlist li,.mw-parser-output .hlist dd,.mw-parser-output .hlist dt{margin-right:0;display:inline-block;white-space:nowrap}.mw-parser-output .hlist dt:after,.mw-parser-output .hlist dd:after,.mw-parser-output .hlist li:after{white-space:normal}.mw-parser-output .hlist li:after,.mw-parser-output .hlist dd:after{content:" ・\a0 ";font-weight:bold}.mw-parser-output .hlist dt:after{content:": "}.mw-parser-output .hlist-pipe dd:after,.mw-parser-output .hlist-pipe li:after{content:" |\a0 ";font-weight:normal}.mw-parser-output .hlist-hyphen dd:after,.mw-parser-output .hlist-hyphen li:after{content:" -\a0 ";font-weight:normal}.mw-parser-output .hlist-comma dd:after,.mw-parser-output .hlist-comma li:after{content:"、";font-weight:normal}.mw-parser-output .hlist-slash dd:after,.mw-parser-output .hlist-slash li:after{content:" /\a0 ";font-weight:normal}.mw-parser-output .hlist dd:last-child:after,.mw-parser-output .hlist dt:last-child:after,.mw-parser-output .hlist li:last-child:after{content:none}.mw-parser-output .hlist dd dd:first-child:before,.mw-parser-output .hlist dd dt:first-child:before,.mw-parser-output .hlist dd li:first-child:before,.mw-parser-output .hlist dt dd:first-child:before,.mw-parser-output .hlist dt dt:first-child:before,.mw-parser-output .hlist dt li:first-child:before,.mw-parser-output .hlist li dd:first-child:before,.mw-parser-output .hlist li dt:first-child:before,.mw-parser-output .hlist li li:first-child:before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child:after,.mw-parser-output .hlist dd dt:last-child:after,.mw-parser-output .hlist dd li:last-child:after,.mw-parser-output .hlist dt dd:last-child:after,.mw-parser-output .hlist dt dt:last-child:after,.mw-parser-output .hlist dt li:last-child:after,.mw-parser-output .hlist li dd:last-child:after,.mw-parser-output .hlist li dt:last-child:after,.mw-parser-output .hlist li li:last-child:after{content:")\a0 ";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li:before{content:" "counter(listitem)" ";white-space:nowrap}.mw-parser-output .hlist dd ol>li:first-child:before,.mw-parser-output .hlist dt ol>li:first-child:before,.mw-parser-output .hlist li ol>li:first-child:before{content:" ("counter(listitem)" "}.mw-parser-output .navbar{display:inline;font-size:75%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}.mw-parser-output .infobox .navbar{font-size:88%}.mw-parser-output .navbox .navbar{display:block;font-size:88%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}
表
話
編
歴
入出力(にゅうしゅつりょく、英: input/output)は、データなどの「ものごと」の流れにおける出入りのことで、入力と出力の2つを総称した概念のことである。input/outputの頭文字をとってI/O(アイオー)と略されることがある。 情報処理の考え方に基づくモデルにおいて入出力は、データや情報などを加工する過程(プロセス)の前処理と後処理と考えられ、情報処理は、入出力があることによって完結し得るものだと考えられている。 入出力は、データ・情報の信用性、利用者とシステムの親和性などとかかわっており、入力と出力の間にどのような優れたデータ・情報の加工処理があろうとも、入出力に不備があったり、利用者にストレスを感じさせたりするものであると、処理全体の意味が半減する。 また、一般的な利用者にとっては、全体の処理一般を詳細に把握しておくことは難しい。このため、処理に関して一般的な利用者が行う評価は、入力したものと出力されたものの差違を比べることによって行われることも少なくない。 オペレーティングシステム(OS)では、ユーザ向けに、デフォルトの入出力経路や装置を用意していることが多い。 以下はUNIX(およびMS-DOSなど、いわゆるUNIX風のシステム)のプロセスにおいてデフォルトのファイル記述子に対応する、標準入出力と呼ばれる入出力。カッコ内は略称(C言語の標準のライブラリ仕様にも含まれている)。 以下はMS-DOSが、標準で用意している、装置の入出力。カッコ内は同じく略称。 コンピュータにより、備わっている入出力の種類や個数は異なる。
概要
コンピュータ処理における入出力
オペレーティングシステムでの入出力「標準ストリーム」も参照
標準入力 (stdin)
一般的にはキーボードに対応する。コンピュータ(オペレーティングシステムもしくは実行プログラム)への指示や入力データを投入するための入力装置
標準出力 (stdout)
一般的にはディスプレイ(キャラクタ表示)に対応する。コンピュータ(オペレーティングシステムもしくは実行プログラム)からの実行状態の報告や実行結果が表示される出力装置。ただし、実行状態の経過報告と実行結果を同時並行で出力するプログラムの場合は、実行結果のみをここへ出力する
標準エラー出力 (stderr)
一般的にはディスプレイ(キャラクタ表示)に対応する。コンピュータ(オペレーティングシステムもしくは実行プログラム)からの実行状態の経過報告などが表示される2番目の表示出力装置
標準補助入出力 (stdaux)
一般的にはシリアルポートや通信回線に対応する。コンピュータ(オペレーティングシステムや実行プログラム)が、通信回線経由で接続されている端末などとの間でデータの入出力を交わすための入出力装置。デバイス名は AUX[1]。
標準プリンタ出力 (stdprn)
一般的にはプリンター(キャラクタ出力)に対応する。実行プログラムからの帳票印字を出力するための装置。デバイス名は PRN[1]。