Searched refs:O_NONBLOCK (Results 1 - 10 of 10) sorted by relevance

/ast/src/lib/libast/features/
H A Dfcntl.c250 #ifndef O_NONBLOCK
255 if (O_NONBLOCK > o_local) o_local = O_NONBLOCK;
298 #ifndef O_NONBLOCK
300 printf("#define O_NONBLOCK 0%o\n", o_local <<= 1);
315 #ifndef O_NONBLOCK
317 printf("#define O_NONBLOCK O_NDELAY\n");
/ast/src/lib/libcs/
H A Dcsbind.c106 #if defined(O_NONBLOCK) || defined(FNDELAY)
114 #if defined(O_NONBLOCK) || defined(FNDELAY)
119 fcntl(fd, F_SETFL, fl|O_NONBLOCK);
138 #if defined(O_NONBLOCK) || defined(FNDELAY)
H A Dcss.c35 #if !defined(O_NONBLOCK) && defined(FNDELAY)
36 #define O_NONBLOCK FNDELAY macro
527 #ifdef O_NONBLOCK
533 flags |= O_NONBLOCK;
535 messagef((state.main->id, NiL, -4, "cssfd: %d O_NONBLOCK", fd));
/ast/src/lib/libtksh/tcl/
H A DtclUnixChan.c265 curStatus &= (~(O_NONBLOCK));
267 curStatus |= O_NONBLOCK;
278 curStatus &= (~(O_NONBLOCK));
280 curStatus |= O_NONBLOCK;
730 curStatus &= (~(O_NONBLOCK));
732 curStatus |= O_NONBLOCK;
743 curStatus &= (~(O_NONBLOCK));
745 curStatus |= O_NONBLOCK;
1486 setting &= (~(O_NONBLOCK));
1489 setting |= O_NONBLOCK;
[all...]
H A DtclIOUtil.c301 #if defined(O_NDELAY) || defined(O_NONBLOCK)
302 # ifdef O_NONBLOCK
303 mode |= O_NONBLOCK;
/ast/src/cmd/ie/
H A Dio.h164 # ifndef O_NONBLOCK
165 # define O_NONBLOCK FNDELAY macro
166 # endif /* !O_NONBLOCK */
/ast/src/cmd/coshell/
H A Dmain.c253 #ifdef O_NONBLOCK
262 return fcntl(fd, F_SETFL, flags|O_NONBLOCK);
299 #ifdef O_NONBLOCK
300 if (state.con[fd].flags >= 0 && fcntl(fd, F_SETFL, state.con[fd].flags|O_NONBLOCK) < 0)
304 #ifdef O_NONBLOCK
310 #ifdef O_NONBLOCK
598 #ifdef O_NONBLOCK
/ast/src/cmd/ksh93/sh/
H A Dio.c56 # ifndef O_NONBLOCK
57 # define O_NONBLOCK FNDELAY macro
58 # endif /* !O_NONBLOCK */
210 * If called with flags==O_NONBLOCK return 1 if protocol is supported
265 if(flags==O_NONBLOCK)
762 if(flags==O_NONBLOCK)
792 if(flags==O_NONBLOCK)
797 if(flags==O_NONBLOCK)
1169 o_mode = O_RDONLY|O_NONBLOCK;
1870 #ifdef O_NONBLOCK
[all...]
/ast/src/cmd/std/
H A Ddd.c696 #if O_NONBLOCK
697 if ((i = fcntl(sffileno(sfstdin), F_GETFL)) > 0 && (i & O_NONBLOCK))
698 fcntl(sffileno(sfstdin), F_SETFL, i & ~O_NONBLOCK);
/ast/src/cmd/ksh93/bltins/
H A Dtest.c415 if(memcmp(arg,"/dev/",5)==0 && sh_open(arg,O_NONBLOCK))

Completed in 26 milliseconds