F_SETFL
(void) fcntl(Audio_fd, F_SETFL,
if (fcntl(getfd(), F_SETFL, flag) < 0) {
if (fcntl(bc->bc_fd, F_SETFL, flags) == -1) {
if (fcntl(fd, F_SETFL, flags) != -1) {
if (fcntl(s, F_SETFL, flags | O_NONBLOCK) == -1)
if (fcntl(be->fd, F_SETFL, O_NONBLOCK) < 0) {
if (fcntl(s, F_SETFL, O_NONBLOCK) < 0) {
if (fcntl(sc->tty.rfd, F_SETFL, O_NONBLOCK) != 0)
if (fcntl(sc->tty.wfd, F_SETFL, O_NONBLOCK) != 0)
if (fcntl(connfd, F_SETFL, O_NONBLOCK) < 0) {
if (fcntl(unused_pipe[0], F_SETFL, O_NONBLOCK) != 0) {
if (fcntl(flush_pipe[0], F_SETFL, O_NONBLOCK) != 0) {
if (fcntl(pipefds[0], F_SETFL, O_NONBLOCK) != 0) {
if (fcntl(pipefds[0], F_SETFL, O_NONBLOCK) != 0) {
if (fcntl(pipefds[0], F_SETFL, O_NONBLOCK) != 0) {
if ( fcntl(dcf, F_SETFL,
(void) fcntl(dcf,F_SETFL, fcntl(dcf, F_GETFL, 0) & ~O_NDELAY);
if (fcntl(0, F_SETFL, status & ~O_NONBLOCK) == -1)
if (fcntl(0, F_SETFL, status & ~O_NONBLOCK) == -1)
if (fcntl(0, F_SETFL, flags | O_NONBLOCK) == -1)
if (fcntl(0, F_SETFL, flags & ~O_NONBLOCK) == -1)
|| fcntl(pty_master, F_SETFL, flags | O_NONBLOCK) == -1)
|| fcntl(ifd, F_SETFL, flags | O_NONBLOCK) == -1)
|| fcntl(ofd, F_SETFL, flags | O_NONBLOCK) == -1)
|| fcntl(ttyfd, F_SETFL, fdflags & ~O_NONBLOCK) < 0)
if (fcntl(fds[0], F_SETFL, fdflags | O_NONBLOCK) == -1) {
if (fcntl(new_sd, F_SETFL, sflags | O_NONBLOCK) == -1) {
if ((fcntl(s, F_SETFL, flags | O_NONBLOCK)) < 0) {
if (fcntl(pii->pii_probe_sock, F_SETFL,
if (fcntl(pii->pii_probe_sock, F_SETFL,
ret = fcntl(s, F_SETFL, O_NDELAY|O_NONBLOCK);
ret = fcntl(sock, F_SETFL, O_NONBLOCK);
(void) fcntl(fd, F_SETFL, (flags & ~O_NONBLOCK));
(void) fcntl(fd, F_SETFL, (flags | O_NONBLOCK));
if ((fcntl(sock, F_SETFL, flags | O_NONBLOCK)) < 0) {
(void) fcntl(sock, F_SETFL, (flags | O_NONBLOCK));
if (fcntl(rt_sock, F_SETFL, O_NONBLOCK) == -1)
if (fcntl(sock, F_SETFL, O_NONBLOCK) == -1)
if (fcntl(rdisc_mib_sock, F_SETFL, O_NONBLOCK) < 0) {
if (fcntl(1, F_SETFL, fcntl(1, F_GETFL) | O_APPEND) == -1) {
fcntl(d, F_SETFL, fflags);
fcntl(d, F_SETFL, fflags);
fcntl(d, F_SETFL, fflags);
fcntl(d, F_SETFL, fflags);
(void) fcntl(ipx->ipx_fd, F_SETFL,
(void) fcntl(fd, F_SETFL, oflags | O_NONBLOCK);
(void) fcntl(mp->sopipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK);
(void) fcntl(mp->sepipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK);
if (fcntl(fd, F_SETFL, O_NONBLOCK) == -1) {
(void) fcntl(mp->sopipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK);
(void) fcntl(mp->sepipe[RDPIPE], F_SETFL, O_NDELAY|O_NONBLOCK);
if (fcntl(rt_sock, F_SETFL, O_NDELAY|O_NONBLOCK) < 0) {
#define TURN_OFF(X,F) (void)Fcntl(X, F_SETFL, (Fcntl(X, F_GETFL, 0) & ~(F)))
if ( fcntl(ttyi, F_SETFL, O_NDELAY) == -1 ) {
if ( fcntl(ttyi, F_SETFL, flags) == -1 )
#define TURN_OFF(X,F) (void)Fcntl(X, F_SETFL, (Fcntl(X, F_GETFL, 0) & ~(F)))
#define TURN_ON(X,F) (void)Fcntl(X, F_SETFL, (Fcntl(X, F_GETFL, 0)|(F)))
return (fcntl(sock, F_SETFL, flags|O_NONBLOCK) == 0);
if (ret == -1 || fcntl((fd), F_SETFL, \
if (ret == -1 || fcntl((fd), F_SETFL, \
return fcntl(fd, F_SETFL, O_SYNC);
fcntl(inchfd, F_SETFL, inmode | O_NONBLOCK) == -1)
(void) fcntl(inchfd, F_SETFL, inmode);
fcntl(f->fdes, F_SETFL, fflags);
fcntl(f->fdes, F_SETFL, fflags);
if ((fcntl(sd, F_SETFL, flags | O_NONBLOCK)) < 0) {
(void) fcntl(f->f_file, F_SETFL, omode);
case F_SETFL: subcode = 2; break;
if (fcntl(PCpipe[0], F_SETFL, flag) == -1)
if (fcntl(fd, F_SETFL, flags) == -1) {
if (fcntl(sockfd, F_SETFL, flags | O_NONBLOCK) == -1) {
(void) fcntl(fd, F_SETFL, flags & ~O_NONBLOCK);
(void) fcntl(fd, F_SETFL, fc | O_APPEND);
(void) fcntl(fd, F_SETFL, fc);
if (fcntl(fd, F_SETFL, nflag) == -1)
(void) fcntl(infd, F_SETFL, fcflags | O_NDELAY);
(void) fcntl(infd, F_SETFL, fcflags);
(void) fcntl(cur_term->_inputfd, F_SETFL, flags);
if (fcntl(*fd, F_SETFL, sockflags | O_NONBLOCK) == -1) {
(void) fcntl(fd, F_SETFL, flags | O_NONBLOCK);
(void) fcntl(fd, F_SETFL, flags | O_NONBLOCK);
if (fcntl(sock, F_SETFL, sock_flag) == -1) {
fcntl(sockfd, F_SETFL, flags | O_NONBLOCK);
fcntl(sockfd, F_SETFL, flags);
if (fcntl(dcf, F_SETFL,
(void) fcntl(fd, F_SETFL, cntlflag & ~(O_NDELAY | O_NONBLOCK));
(void) fcntl(fd, F_SETFL, cntlflag);
(void) fcntl(fd, F_SETFL, cntlflag);
(void) fcntl(fd, F_SETFL, cntlflag);
(void) fcntl(fd, F_SETFL, cntlflag);
if (fcntl(ct->ct_fd, F_SETFL, flag) != 0) {
if (fcntl(svc_pipe[0], F_SETFL, O_NONBLOCK) == -1) {
if (fcntl(svc_pipe[1], F_SETFL, O_NONBLOCK) == -1) {
if (fcntl(fdconn, F_SETFL, nn|O_NONBLOCK) != 0) {
if (fcntl(pvt->fdCxn, F_SETFL, flags) < 0) {
OK(fcntl(this->fd, F_SETFL, mode & ~PORT_NONBLOCK));
OKFREE(fcntl(fd, F_SETFL, mode | PORT_NONBLOCK), new);
(void) fcntl(del->fd, F_SETFL, mode & ~PORT_NONBLOCK);
OK(fcntl(fd, F_SETFL, mode | PORT_NONBLOCK));
if(fcntl(fd, F_SETFL, fcntl_flags) == -1) {
if(fcntl(fd, F_SETFL, fcntl_flags) == -1) {
(void) fcntl(sock, F_SETFL, (flags | O_NONBLOCK));
retval = fcntl(fd, F_SETFL, O_NONBLOCK);
case F_SETFL:
if (cmd == F_SETFL)
case F_SETFL: