Home
last modified time | relevance | path

Searched refs:F_SETFL (Results 1 – 25 of 80) sorted by relevance

1234

/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/
H A Dsfdcdio.c68 (void)fcntl(f->file, F_SETFL, di->cntl);
93 (void)fcntl(f->file, F_SETFL, di->cntl);
147 (void)fcntl(f->file,F_SETFL,di->cntl);
180 if(fcntl(f->file,F_SETFL,cntl) < 0)
222 (void)fcntl(f->file,F_SETFL,cntl);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dfcntl.c137 #ifndef F_SETFL in main()
140 if (F_SETFL > f_local) f_local = F_SETFL; in main()
186 #ifndef F_SETFL in main()
/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/
H A Dlists_delete.c129 if (fcntl(unused_pipe[0], F_SETFL, O_NONBLOCK) != 0) { in main()
143 if (fcntl(flush_pipe[0], F_SETFL, O_NONBLOCK) != 0) { in main()
H A Dread_requeue.c85 if (fcntl(pipefds[0], F_SETFL, O_NONBLOCK) != 0) { in main()
H A Dread_pause.c116 if (fcntl(pipefds[0], F_SETFL, O_NONBLOCK) != 0) { in main()
H A Dread_disable.c116 if (fcntl(pipefds[0], F_SETFL, O_NONBLOCK) != 0) { in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dutil.c307 (void) fcntl(fd, F_SETFL, (flags & ~O_NONBLOCK)); in enable_blocking()
314 (void) fcntl(fd, F_SETFL, (flags | O_NONBLOCK)); in disable_blocking()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.tchar.c497 fcntl(d, F_SETFL, fflags); in read_()
504 fcntl(d, F_SETFL, fflags); in read_()
647 fcntl(d, F_SETFL, fflags); in read_()
654 fcntl(d, F_SETFL, fflags); in read_()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dlocal.h169 if (ret == -1 || fcntl((fd), F_SETFL, \
185 if (ret == -1 || fcntl((fd), F_SETFL, \
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dttimeout.c103 (void) fcntl(cur_term->_inputfd, F_SETFL, flags); in _setblock()
H A Dtgetch.c541 (void) fcntl(infd, F_SETFL, fcflags | O_NDELAY); in _fpk()
543 (void) fcntl(infd, F_SETFL, fcflags); in _fpk()
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_files.c82 OK(fcntl(fd, F_SETFL, mode | PORT_NONBLOCK)); in evSelectFD()
205 (void) fcntl(del->fd, F_SETFL, mode & ~PORT_NONBLOCK); in evDeselectFD()
H A Dev_connects.c79 OKFREE(fcntl(fd, F_SETFL, mode | PORT_NONBLOCK), new); in evListen()
168 OK(fcntl(this->fd, F_SETFL, mode & ~PORT_NONBLOCK)); in evCancelConn()
/illumos-gate/usr/src/cmd/sh/
H A Dword.c438 fcntl(f->fdes, F_SETFL, fflags); in readb()
445 fcntl(f->fdes, F_SETFL, fflags); in readb()
/illumos-gate/usr/src/ucbhead/sys/
H A Dfcntl.h78 #define F_SETFL 4 /* Set file flags */ macro
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dmsgs.c40 #define TURN_OFF(X,F) (void)Fcntl(X, F_SETFL, (Fcntl(X, F_GETFL, 0) & ~(F)))
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dmconnect.c43 #define TURN_OFF(X,F) (void)Fcntl(X, F_SETFL, (Fcntl(X, F_GETFL, 0) & ~(F)))
/illumos-gate/usr/src/lib/libnsl/nsl/
H A D_utility.c369 (void) fcntl(fd, F_SETFL, cntlflag & ~(O_NDELAY | O_NONBLOCK)); in _t_is_ok()
377 (void) fcntl(fd, F_SETFL, cntlflag); in _t_is_ok()
385 (void) fcntl(fd, F_SETFL, cntlflag); in _t_is_ok()
396 (void) fcntl(fd, F_SETFL, cntlflag); in _t_is_ok()
403 (void) fcntl(fd, F_SETFL, cntlflag); in _t_is_ok()
/illumos-gate/usr/src/boot/sys/sys/
H A Dfcntl.h222 #define F_SETFL 4 /* set file status flags */ macro
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetut.c351 (void) fcntl(fd, F_SETFL, fc | O_APPEND); in _compat_pututline()
383 (void) fcntl(fd, F_SETFL, fc); in _compat_pututline()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dshiocmd_solaris.c577 fcntl(fd, F_SETFL, 0); in b_open()
700 fcntl(fd, F_SETFL, 0); in b_tmpfile()
775 fcntl(fd,F_SETFL,0); in b_dup()
/illumos-gate/usr/src/cmd/bhyve/
H A Duart_emul.c751 if (fcntl(connfd, F_SETFL, O_NONBLOCK) < 0) { in uart_sock_accept()
904 if (fcntl(sc->tty.rfd, F_SETFL, O_NONBLOCK) != 0) in uart_stdio_backend()
906 if (fcntl(sc->tty.wfd, F_SETFL, O_NONBLOCK) != 0) in uart_stdio_backend()
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dfopen.c192 if (fcntl(fd, F_SETFL, nflag) == -1) in _freopen_null()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/
H A Dchat.c541 if (fcntl(0, F_SETFL, flags | O_NONBLOCK) == -1)
555 if (fcntl(0, F_SETFL, flags & ~O_NONBLOCK) == -1) in unalarm()
1215 if (fcntl(0, F_SETFL, status & ~O_NONBLOCK) == -1) in get_char()
1244 if (fcntl(0, F_SETFL, status & ~O_NONBLOCK) == -1)
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_nicmon.c171 if ((fcntl(sd, F_SETFL, flags | O_NONBLOCK)) < 0) { in smbd_nicmon_setup_rtsock()

1234