| 総合手引 | セクション 3 | English | Deutsch | オプション |
#include <stdio.h>
fwrite() 関数は、 ptr で指定された場所から、それぞれが size バイトの大きさのオブジェクトを nmemb 個 stream が指すストリームに書き込みます。
fread() 関数は、ファイルの終了とエラーを区別しません。 ファイルの終了かエラーかを判断するためには、呼び出し側が feof(3) と ferror(3) を使用する必要があります。 fwrite() は、書き込みエラーが発生した場合に限って nmemb より少ない値を返します。
| FREAD (3) | March 8, 1994 |
| 総合手引 | セクション 3 | English | Deutsch | オプション |
このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.
| “ | The most horrifying thing about Unix is that, no matter how many times you hit yourself over the head with it, you never quite manage to lose consciousness. It just goes on and on. | ” |
| — Patrick Sobalvarro | ||