Lines Matching refs:mode
66 static int comm(Sfio_t *in1, Sfio_t *in2, register Sfio_t *out,register int mode)
79 if(mode&C_COMMON)
81 if(mode!=C_COMMON)
84 if(mode==C_ALL)
97 if(mode&C_FILE2)
99 if(mode&C_FILE1)
109 if((mode&C_FILE1) && sfwrite(out,cp1,n1) < 0)
121 if(mode&C_FILE1)
123 mode &= C_FILE2;
126 mode &= C_FILE1;
127 if(!mode || !cp1)
150 register int mode = C_FILE1|C_FILE2|C_COMMON;
160 mode &= ~C_FILE1;
163 mode &= ~C_FILE2;
166 mode &= ~C_COMMON;
191 if(mode)
193 if(comm(f1,f2,sfstdout,mode) < 0)