Searched refs:FNDELAY (Results 1 - 11 of 11) sorted by relevance

/freebsd-12-stable/contrib/ntp/libntp/
H A Dsocket.c141 #undef FNDELAY macro
151 #elif defined(FNDELAY)
152 if (fcntl(fd, F_SETFL, FNDELAY) < 0) {
153 msyslog(LOG_ERR, "fcntl(FNDELAY) fails on fd #%d: %m",
157 #elif defined(O_NDELAY) /* generally the same as FNDELAY */
H A Diosignal.c37 # define FNDELAY O_NDELAY macro
155 if (fcntl(rio->fd, F_SETFL, FNDELAY|FASYNC) < 0)
157 msyslog(LOG_ERR, "fcntl(FNDELAY|FASYNC) fails for clock I/O: %m");
189 if (fcntl(rio->fd, F_SETFL, FNDELAY|FASYNC) < 0)
192 "fcntl(FNDELAY|FASYNC) fails for clock I/O: %m");
/freebsd-12-stable/contrib/ntp/include/
H A Dntp_io.h46 * Define FNDELAY and FASYNC using O_NONBLOCK and O_ASYNC if we need
50 #ifndef FNDELAY
52 # define FNDELAY O_NONBLOCK macro
/freebsd-12-stable/contrib/apr/network_io/unix/
H A Dsockopt.c32 #elif defined(FNDELAY)
33 fd_flags &= ~FNDELAY;
58 #elif defined(FNDELAY)
59 fd_flags |= FNDELAY;
/freebsd-12-stable/crypto/openssl/crypto/bio/
H A Db_sock.c306 # elif defined(F_GETFL) && defined(F_SETFL) && (defined(O_NONBLOCK) || defined(FNDELAY))
317 l &= ~FNDELAY; /* BSD4.x */
323 l |= FNDELAY; /* BSD4.x */
/freebsd-12-stable/contrib/ntp/sntp/libopts/compat/
H A Dcompat.h149 # define O_NONBLOCK FNDELAY
/freebsd-12-stable/sys/sys/
H A Dfcntl.h188 #define FNDELAY O_NONBLOCK /* compat */ macro
/freebsd-12-stable/contrib/amd/amd/
H A Drpc_fwd.c185 if (fcntl(fwd_sock, F_SETFL, FNDELAY) < 0
/freebsd-12-stable/contrib/ipfilter/ipsend/
H A Dsock.c269 if (fcntl(fd, F_SETFL, FNDELAY) == -1)
/freebsd-12-stable/contrib/ntp/ntpdate/
H A Dntpdate.c1815 msyslog(LOG_ERR, "fcntl(FNDELAY|FASYNC) fails: %m");
1820 # if defined(FNDELAY)
1821 if (fcntl(fd[nbsock], F_SETFL, FNDELAY) < 0) {
1822 msyslog(LOG_ERR, "fcntl(FNDELAY|FASYNC) fails: %m");
1826 # else /* FNDELAY */
1828 # endif /* FNDELAY */
/freebsd-12-stable/sys/dev/bktr/
H A Dbktr_core.c1259 if (ioflag & FNDELAY) {

Completed in 216 milliseconds