Home
last modified time | relevance | path

Searched refs:F_GETFL (Results 1 – 25 of 78) sorted by relevance

1234

/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dfcntl.c116 #ifndef F_GETFL in main()
119 if (F_GETFL > f_local) f_local = F_GETFL; in main()
177 #ifndef F_GETFL in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dfcntl.c69 #if F_GETFL >= _ast_F_LOCAL
70 case F_GETFL:
/illumos-gate/usr/src/test/os-tests/tests/signalfd/
H A Dbasic_args.c54 res = fcntl(fd, F_GETFL, 0); in main()
74 res = fcntl(fd, F_GETFL, 0); in main()
/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)))
180 if (fcntl(fd, F_GETFL, 0) != -1) in calculate_nopen()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dutil.c306 int flags = fcntl(fd, F_GETFL, 0); in enable_blocking()
313 int flags = fcntl(fd, F_GETFL, 0); in disable_blocking()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.tchar.c495 ((fflags = fcntl(d, F_GETFL, 0)) & O_NDELAY)) { in read_()
502 fflags = fcntl(d, F_GETFL, 0); in read_()
645 ((fflags = fcntl(d, F_GETFL, 0)) & O_NDELAY)) { in read_()
652 fflags = fcntl(d, F_GETFL, 0); in read_()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dlocal.h168 ret = fcntl((fd), F_GETFL, 0); \
184 ret = fcntl((fd), F_GETFL, 0); \
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dttimeout.c96 int flags = fcntl(cur_term->_inputfd, F_GETFL, 0); in _setblock()
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_files.c61 OK(mode = fcntl(fd, F_GETFL, NULL)); /*%< side effect: validate fd. */ in evSelectFD()
168 mode = fcntl(del->fd, F_GETFL, NULL); in evDeselectFD()
H A Dev_connects.c66 OKFREE(mode = fcntl(fd, F_GETFL, NULL), new); /*%< side effect: validate fd. */ in evListen()
159 mode = fcntl(this->fd, F_GETFL, NULL); in evCancelConn()
/illumos-gate/usr/src/cmd/sendmail/libsmdb/
H A Dsmdb.c125 int omode = fcntl(fd, F_GETFL, NULL);
145 int omode = fcntl(fd, F_GETFL, NULL);
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dfifo_buffs.c135 Fcntl (i, F_GETFL) < 0 && in NewFifoBuffer()
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 Dt_connect.c116 if ((fctlflg = fcntl(fd, F_GETFL, 0)) < 0) { in _tx_connect()
/illumos-gate/usr/src/cmd/sh/
H A Dword.c436 ((fflags = fcntl(f->fdes, F_GETFL, 0)) & O_NDELAY)) { in readb()
443 fflags = fcntl(f->fdes, F_GETFL, 0); in readb()
/illumos-gate/usr/src/ucbhead/sys/
H A Dfcntl.h77 #define F_GETFL 3 /* Get file flags */ macro
/illumos-gate/usr/src/boot/sys/sys/
H A Dfcntl.h221 #define F_GETFL 3 /* get file status flags */ macro
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dfopen.c129 if ((oflag = fcntl(fd, F_GETFL)) == -1) in _freopen_null()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/
H A Dchat.c538 if ((flags = fcntl(0, F_GETFL, 0)) == -1)
552 if ((flags = fcntl(0, F_GETFL, 0)) == -1) in unalarm()
1212 if ((status = fcntl(0, F_GETFL, 0)) == -1) in get_char()
1241 if ((status = fcntl(0, F_GETFL, 0)) == -1)
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_nicmon.c164 if ((flags = fcntl(sd, F_GETFL, 0)) < 0) { in smbd_nicmon_setup_rtsock()
/illumos-gate/usr/src/uts/common/sys/
H A Dfcntl.h104 #define F_GETFL 3 /* Get file flags */ macro
/illumos-gate/usr/src/lib/libipmp/common/
H A Dipmp_mpathd.c104 flags = fcntl(fd, F_GETFL, 0); in ipmp_connect()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A D_sfopen.c80 int ctl = sysfcntlf(f->file, F_GETFL, 0);
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dfds.c231 if ((flags = fcntl(i, F_GETFL, (char*)0)) == -1) in b_fds()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/
H A Dsfdcdio.c175 if((cntl = fcntl(f->file,F_GETFL,0)) < 0)

1234