FERROR(3) BSD Programmer's Manual FERROR(3)
c
\bcl
\ble
\bea
\bar
\bre
\ber
\brr
\br, f
\bfe
\beo
\bof
\bf, f
\bfe
\ber
\brr
\bro
\bor
\br, f
\bfi
\bil
\ble
\ben
\bno
\bo - check and reset stream status
S
\bSY
\bYN
\bNO
\bOP
\bPS
\bSI
\bIS
\bS
#
\b#i
\bin
\bnc
\bcl
\blu
\bud
\bde
\be <
\b<s
\bst
\btd
\bdi
\bio
\bo.
\b.h
\bh>
\b>
c
\bcl
\ble
\bea
\bar
\bre
\ber
\brr
\br(_
\bF_
\bI_
\bL_
\bE _
\b*_
\bs_
\bt_
\br_
\be_
\ba_
\bm);
f
\bfe
\beo
\bof
\bf(_
\bF_
\bI_
\bL_
\bE _
\b*_
\bs_
\bt_
\br_
\be_
\ba_
\bm);
f
\bfe
\ber
\brr
\bro
\bor
\br(_
\bF_
\bI_
\bL_
\bE _
\b*_
\bs_
\bt_
\br_
\be_
\ba_
\bm);
f
\bfi
\bil
\ble
\ben
\bno
\bo(_
\bF_
\bI_
\bL_
\bE _
\b*_
\bs_
\bt_
\br_
\be_
\ba_
\bm);
D
\bDE
\bES
\bSC
\bCR
\bRI
\bIP
\bPT
\bTI
\bIO
\bON
\bN
The function c
\bcl
\ble
\bea
\bar
\bre
\ber
\brr
\br() clears the end-of-file and error indicators for
the stream pointed to by _
\bs_
\bt_
\br_
\be_
\ba_
\bm.
The function f
\bfe
\beo
\bof
\bf() tests the end-of-file indicator for the stream point-
ed to by _
\bs_
\bt_
\br_
\be_
\ba_
\bm, returning non-zero if it is set. The end-of-file indi-
cator can only be cleared by the function c
\bcl
\ble
\bea
\bar
\bre
\ber
\brr
\br().
The function f
\bfe
\ber
\brr
\bro
\bor
\br() tests the error indicator for the stream pointed to
by _
\bs_
\bt_
\br_
\be_
\ba_
\bm, returning non-zero if it is set. The error indicator can only
be reset by the c
\bcl
\ble
\bea
\bar
\bre
\ber
\brr
\br() function.
The function f
\bfi
\bil
\ble
\ben
\bno
\bo() examines the argument _
\bs_
\bt_
\br_
\be_
\ba_
\bm and returns its inte-
These functions should not fail and do not set the external variable
S
\bSE
\bEE
\bE A
\bAL
\bLS
\bSO
\bO
S
\bST
\bTA
\bAN
\bND
\bDA
\bAR
\bRD
\bDS
\bS
The functions c
\bcl
\ble
\bea
\bar
\bre
\ber
\brr
\br(), f
\bfe
\beo
\bof
\bf(), and f
\bfe
\ber
\brr
\bro
\bor
\br() conform to ANSI C
X3.159-1989 (``ANSI C '').