Searched refs:fd_flags (Results 1 - 5 of 5) sorted by last modified time

/freebsd-11-stable/contrib/apr/poll/unix/
H A Depoll.c107 int fd_flags; local
109 if ((fd_flags = fcntl(fd, F_GETFD)) == -1) {
116 fd_flags |= FD_CLOEXEC;
117 if (fcntl(fd, F_SETFD, fd_flags) == -1) {
359 int fd_flags; local
362 if ((fd_flags = fcntl(fd, F_GETFD)) == -1) {
369 fd_flags |= FD_CLOEXEC;
370 if (fcntl(fd, F_SETFD, fd_flags) == -1) {
/freebsd-11-stable/contrib/apr/network_io/unix/
H A Dsockopt.c25 int fd_flags; local
27 fd_flags = fcntl(sd, F_GETFL, 0);
29 fd_flags &= ~O_NONBLOCK;
31 fd_flags &= ~O_NDELAY;
33 fd_flags &= ~FNDELAY;
37 if (fcntl(sd, F_SETFL, fd_flags) == -1) {
51 int fd_flags; local
53 fd_flags = fcntl(sd, F_GETFL, 0);
55 fd_flags |= O_NONBLOCK;
57 fd_flags |
[all...]
/freebsd-11-stable/contrib/apr/file_io/unix/
H A Dpipe.c39 int fd_flags; local
41 fd_flags = fcntl(thepipe->filedes, F_GETFL, 0);
43 fd_flags &= ~O_NONBLOCK;
45 fd_flags &= ~O_NDELAY;
47 fd_flags &= ~O_FNDELAY;
52 if (fcntl(thepipe->filedes, F_SETFL, fd_flags) == -1) {
75 int fd_flags = fcntl(thepipe->filedes, F_GETFL, 0); local
78 fd_flags |= O_NONBLOCK;
80 fd_flags |= O_NDELAY;
82 fd_flags |
[all...]
/freebsd-11-stable/contrib/ofed/librdmacm/
H A Drsocket.c355 int fd_flags; member in struct:rsocket
792 if (rs->fd_flags & O_NONBLOCK) {
1255 if (rs->fd_flags & O_NONBLOCK)
1379 if (!(rs->fd_flags & O_NONBLOCK))
2245 return (rs->fd_flags & O_NONBLOCK) || (flags & MSG_DONTWAIT);
3235 if (rs->fd_flags & O_NONBLOCK)
3268 if ((rs->fd_flags & O_NONBLOCK) && (rs->state & rs_connected))
3269 rs_set_nonblocking(rs, rs->fd_flags);
3285 if (rs->fd_flags & O_NONBLOCK)
3291 if (rs->fd_flags
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dprotoize.c2086 int fd_flags;
2090 fd_flags = O_RDONLY;
2093 fd_flags |= O_BINARY;
2095 if ((aux_info_file = open (aux_info_filename, fd_flags, 0444 )) == -1)
4011 int fd_flags;
4015 fd_flags = O_RDONLY;
4018 fd_flags |= O_BINARY;
4020 if ((input_file = open (convert_filename, fd_flags, 0444)) == -1)
2070 int fd_flags; local
3992 int fd_flags; local

Completed in 107 milliseconds