feof(3c) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

feof(3c)

ferror(3C)               Standard C Library Functions               ferror(3C)

NAME
       ferror, feof, clearerr, fileno - stream status inquiries

SYNOPSIS
       #include <stdio.h>

       int ferror(FILE *stream);


       int feof(FILE *stream);


       void clearerr(FILE *stream);


       int fileno(FILE *stream);

DESCRIPTION
       The ferror() function returns a non-zero value when an error has previ‐
       ously  occurred  reading  from  or writing to the named stream (see in‐
       tro(3)). It returns 0 otherwise.


       The feof() function returns a non-zero value when  EOF  has  previously
       been detected reading the named input stream. It returns 0 otherwise.


       The clearerr() function resets the error indicator and EOF indicator to
       0 on the named stream.


       The  fileno()  function  returns the integer file descriptor associated
       with the named stream; see open(2).

ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE  VALUE _ Interface StabilityCommitted _ MT-LevelMT-Safe _ Stan‐
       dardSee standards(7).


SEE ALSO
       open(2), fopen(3C), stdio(3C), intro(3), attributes(7), standards(7)

Oracle Solaris 11.4               17 Feb 2005                       ferror(3C)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3