-

Functions HI-TECH C FEOF

提供: HI-TECH C for CP/M Fan WIKI(JP)
2018年1月5日 (金) 06:40時点におけるKumokosi (トーク | 投稿記録)による版 (ページの作成:「<strong>FEOF, FERROR</strong> ==概要== #include <stdio.h> feof(FILE * stream) ferror(FILE * stream) ==詳細== これらのマクロはそれぞれ指定され...」)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

FEOF, FERROR

概要

#include  <stdio.h>

feof(FILE * stream)
ferror(FILE * stream)


詳細

これらのマクロはそれぞれ指定されたストリームのEOFやERRORビットのステータスをテストします。 These macros test the status of the EOF and ERROR bits respectively for the specified stream. Each will be true if the corresponding flag is set. The macros are defined in stdio.h. Stream must be a token returned by a previous fopen() call. 対応するフラグが真になります。これらのマクロはstdio.hで定義されています。ストリームはあらかじめfopen() の呼び出しで、トークンが返されている必要があります。

参照

fopen, fclose