Lines Matching defs:cntl
36 int cntl; /* file control flags */
66 if(!(di->cntl & FDIRECT) )
67 { di->cntl |= FDIRECT;
68 (void)fcntl(f->file, F_SETFL, di->cntl);
90 if(done < n && (di->cntl & FDIRECT) )
92 di->cntl &= ~FDIRECT;
93 (void)fcntl(f->file, F_SETFL, di->cntl);
145 if(di->cntl&FDIRECT)
146 { di->cntl &= ~FDIRECT;
147 (void)fcntl(f->file,F_SETFL,di->cntl);
167 int cntl;
175 if((cntl = fcntl(f->file,F_GETFL,0)) < 0)
178 if(!(cntl&FDIRECT) )
179 { cntl |= FDIRECT;
180 if(fcntl(f->file,F_SETFL,cntl) < 0)
215 di->cntl = cntl;
221 cntl &= ~FDIRECT;
222 (void)fcntl(f->file,F_SETFL,cntl);