home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
C
/
SMALL_C
/
CLEARERR.C
< prev
next >
Wrap
Text File
|
1987-10-04
|
256b
|
12 lines
#define NOCCARGC /* no arg count passing */
#include stdio.h
#include clib.def
extern int Ustatus[];
/*
** Clear error status for fd.
*/
clearerr(fd) int fd; {
if(Umode(fd)) Ustatus[fd] &= ~ERRBIT;
}