File input/output
提供:cppreference.com
< c
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<stdio.h>ヘッダが狭い文字入力/出力機能を備えた一般的なファイル操作支援や物資の機能を提供します.Original:
The
<stdio.h> header provides generic file operation support and supplies functions with narrow character input/output capabilities.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
<wchar.h>ヘッダは、ワイド文字の入力/出力機能を持つ関数が用意されています. Original:
The
<wchar.h> header supplies functions with wide character input/output capabilities. The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] 機能します
Original: File access The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| ファイルを開きます Original: opens a file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| 別の名前で既存のストリームを開きます Original: open an existing stream with a different name The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| ファイルを閉じます Original: closes a file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| 実際のファイルで出力ストリームを同期させます Original: synchronizes an output stream with the actual file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| ワイド文字I / Oと狭い文字間のファイルストリームを切り替えI / O Original: switches a file stream between wide character I/O and narrow character I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| ファイルストリーム用のバッファを設定します Original: sets the buffer for a file stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| ファイルストリーム用のバッファとそのサイズを設定します Original: sets the buffer and its size for a file stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
Original: Direct input/output The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| ファイルから読み込みます Original: reads from a file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| ファイルに書き込みます Original: writes to a file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
Original: Unformatted input/output The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
Original: Narrow character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| ファイルストリームから文字を取得します Original: gets a character from a file stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| ファイルストリームから文字列を取得します Original: gets a character string from a file stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| ファイルストリームに文字を書き込みます Original: writes a character to a file stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| ファイルストリームに文字列を書き込みます Original: writes a character string to a file stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| stdinから文字を読み取ります Original: reads a character from stdin The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
stdinから文字列を読み込みますOriginal: reads a character string from stdinThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
stdoutに文字を書き込みますOriginal: writes a character to stdoutThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| stdoutに文字列を書き込みます Original: writes a character string to stdout The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| ファイルストリームに戻す文字を入れます Original: puts a character back into a file stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
Original: Wide character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| ファイルストリームからワイド文字を取得します Original: gets a wide character from a file stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| ファイルストリームからワイド文字列を取得します Original: gets a wide string from a file stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| ファイルストリームにワイド文字を書き込みます Original: writes a wide character to a file stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| ファイルストリームにワイド文字列を書き込みます Original: writes a wide string to a file stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
stdinからワイド文字を読み込みますOriginal: reads a wide character from stdinThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| stdoutにワイド文字を書き込みます Original: writes a wide character to stdout The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| ファイルストリームにワイド文字に戻します Original: puts a wide character back into a file stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
Original: Formatted input/output The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
Original: Narrow character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| stdin、ファイルストリームまたはバッファからの書式付き入力を読み取ります Original: reads formatted input from stdin, a file stream or a buffer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| (C99) (C99) (C99) |
stdin、ファイルストリームまたは可変引数リストを使用してbuffer から書式付き入力を読み取ります Original: reads formatted input from stdin, a file stream or a buffer using variable argument list The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| プリントはstdout、ファイルストリームまたはバッファに出力をフォーマットします Original: prints formatted output to stdout, a file stream or a buffer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| プリントはstdout、ファイルストリームまたは可変引数リストを使用してbuffer に出力をフォーマットします Original: prints formatted output to stdout, a file stream or a buffer using variable argument list The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
Original: Wide character The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| stdin、ファイルストリームまたはバッファから書式ワイド文字入力を読み取ります Original: reads formatted wide character input from stdin, a file stream or a buffer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| (C99) (C99) (C99) |
stdin、ファイルstream または可変引数リストを使用してバッファから書式ワイド文字入力を読み取ります Original: reads formatted wide character input from stdin, a file stream or a buffer using variable argument list The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| プリントはstdout、ファイルストリームまたはバッファにワイド文字出力をフォーマットします Original: prints formatted wide character output to stdout, a file stream or a buffer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| プリントはstdout、ファイルstream または可変引数リストを使用してバッファにワイド文字出力をフォーマットします Original: prints formatted wide character output to stdout, a file stream or a buffer using variable argument list The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
Original: File positioning The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| 現在のファイル位置指示子を返します Original: returns the current file position indicator The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| ファイル位置指示子を取得します Original: gets the file position indicator The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| ファイル位置指示子は、ファイル内の特定の場所に移動します Original: moves the file position indicator to a specific location in a file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| ファイル位置指示子は、ファイル内の特定の場所に移動します Original: moves the file position indicator to a specific location in a file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| ファイル位置指示子は、ファイル内の先頭に移動します Original: moves the file position indicator to the beginning in a file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
Original: Error handling The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| エラーをクリアします Original: clears errors The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| エンド·オブ·ファイルをチェックします Original: checks for the end-of-file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| ファイルのエラーをチェックします Original: checks for a file error The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| stderrに現在のエラーの対応する文字列が表示されます Original: displays a character string corresponding of the current error to stderr The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
Original: Operations on files The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| ファイルを消去 Original: erases a file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| ファイルの名前を変更します Original: renames a file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| 一時ファイルへのポインタを返します Original: returns a pointer to a temporary file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
| 一意のファイル名を返します Original: returns a unique filename The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) | |
[編集] タイプ
| Defined in header
<stdio.h> | |
| タイプ
Original: Type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
| FILE | CI / Oストリームを制御するために必要なすべての情報を保持することが可能なタイプ
Original: type, capable of holding all information needed to control a C I/O stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| fpos_t | 一意のファイル内の位置を特定することができるタイプ
Original: type, capable of uniquely specifying a position in a file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] マクロ
| Defined in header
<stdio.h> | |
| stdin stdout stderr |
エラー出力ストリームに関連付けられたFILE *型の出力stream expressionに関連付けられたFILE *型の入力stream expressionに関連付けられたFILE *型の式 Original: expression of type FILE* associated with the input stream expression of type FILE* associated with the output stream expression of type FILE* associated with the error output stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| EOF |
タイプintと負の値の整数定数式 Original: integer constant expression of type int and negative value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| FOPEN_MAX |
同時にオープンできるファイルの数 Original: number of files that can be open simultaneously The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| FILENAME_MAX |
サイズは最長のサポートされているファイル名を保持するためにchar型の配列のために必要 Original: size needed for an array of char to hold the longest supported file name The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| BUFSIZ |
setbufは()で使用されるバッファのサイズ Original: size of the buffer used by setbuf() The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| _IOFBF _IOLBF _IONBF |
示すsetvbuf関数への引数は、()を完全にバッファリングされていないI / Oを示す)行(setvbuf関数へのI /O argumentをバッファリングされたことを示す)setvbuf関数(へのI /O argumentをバッファリング Original: argument to setvbuf() indicating fully buffered I/O argument to setvbuf() indicating line buffered I/O argument to setvbuf() indicating unbuffered I/O The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| SEEK_SET SEEK_CUR SEEK_END |
ファイルの末尾からシークを示す(現在のファイルposition argumentからfseekに求める指示(file argumentの先頭からのfseekに求めることを示すfseekの引数())) Original: argument to fseek() indicating seeking from beginning of the file argument to fseek() indicating seeking from the current file position argument to fseek() indicating seeking from end of the file The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| TMP_MAX |
tmpnamの()によって生成することができるユニークなファイル名の最大数 Original: maximum number of unique filenames that can be generated by tmpnam() The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| L_tmpnam |
サイズは、tmpnam()の結果を保持するためにchar型の配列のために必要 Original: size needed for an array of char to hold the result of tmpnam() The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |