5d8ef44f090b1bba11e599f22c09262f687e6e2b
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
* @(#)fio.h 5.1 (Berkeley) %G%
/*rewind, backspace, endfile*/
{ FILE *ufd
; /*0=unconnected*/
int url
; /*0=sequential*/
flag useek
; /*true=can backspace, use dir, ...*/
flag uwrt
; /*last io was write*/
ftnint
*inex
; /*parameters in standard's order*/
extern cilist
*elist
; /*active external io list*/
extern flag reading
,external
,sequential
,formatted
;
extern int (*getn
)(),(*putn
)(); /*for formatted io*/
extern FILE *cf
; /*current file*/
extern unit
*curunit
; /*current unit*/
#define err(f,n,s) {if(f) errno= n; else fatal(n,s); return(n);}
extern int recpos
; /*position in current record*/