Initial revision
This commit is contained in:
13
lang/pc/libpc/get.c
Normal file
13
lang/pc/libpc/get.c
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <pc_file.h>
|
||||
#include <pc_err.h>
|
||||
|
||||
extern _rf();
|
||||
extern _trp();
|
||||
|
||||
_get(f) struct file *f; {
|
||||
|
||||
_rf(f);
|
||||
if (f->flags&EOFBIT)
|
||||
_trp(EEOF);
|
||||
f->flags &= ~WINDOW;
|
||||
}
|
||||
Reference in New Issue
Block a user