ack/lang/pc/libpc/wdw.c

13 lines
198 B
C
Raw Normal View History

1984-07-20 10:44:57 +00:00
#include <pc_file.h>
extern struct file *_curfil;
extern _incpt();
char *_wdw(f) struct file *f; {
_curfil = f;
if ((f->flags & (WINDOW|WRBIT|0377)) == MAGIC)
_incpt(f);
return(f->ptr);
}