ack/lang/pc/libpc/wdw.c
1984-07-20 11:03:31 +00:00

13 lines
213 B
C

/* $Header$ */
#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);
}