/* defs.h 4.4 85/03/19 */
/* error exits from various parts of shell */
/* used for input and output of shell */
/* arg list terminator */
/* result type declarations */
#define attrib(n,f) (n->namflg |= f)
#define round(a,b) (((int)((ADR(a)+b)-1))&~((b)-1))
#define closepipe(x) (close(x[INPIPE]), close(x[OTPIPE]))
#define eq(a,b) (cf(a,b)==0)
#define max(a,b) ((a)>(b)?(a):(b))
IOPTR iotemp
; /* files to be deleted sometime */
IOPTR iopend
; /* documents waiting to be read at NL */
#define BLK(x) ((BLKPTR)(x))
#define BYT(x) ((BYTPTR)(x))
#define STK(x) ((STKPTR)(x))
#define ADR(x) ((char*)(x))
/* name tree and words */
/* names always present */
#define input (standin->fdes)
#define eof (standin->feof)
/* error exits from various parts of shell */
/* name tree and words */