F_GETFL
if ((fl = fcntl(fd = name[0] - '0', F_GETFL, 0)) < 0) {
if ((flags = fcntl(fd, F_GETFL, 0)) < 0)
int flags = fcntl(fd, F_GETFL, 0);
int flags = fcntl(fd, F_GETFL, 0);
int flags = fcntl(0, F_GETFL, 0);
(fcntl_int)(fcntl(f, F_GETFL) & ~eflags));
if ((f = fcntl(fd, F_GETFL)) == -1) {
fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_NONBLOCK);
if ((fc = fcntl(s->server_fd, F_GETFL)) == -1 ||
flags = fcntl(newsock, F_GETFL, 0);
int e = fcntl(newfd, F_GETFL, 0);
if (data->log_file == -1 || fcntl(data->log_file, F_GETFL, 0) == -1) {
flags = fcntl(sock, F_GETFL, 0);
if ((fdflags = fcntl(fd, F_GETFL, 0)) < 0)
if ((fdflags = fcntl(fd, F_GETFL, 0)) == -1)
if ((e = fcntl(fd, F_GETFL, 0)) == -1)
if ((n = fcntl(el->el_infd, F_GETFL, 0)) < 0)
if (fcntl(pu->pu_fd, F_GETFL) == -1) {
flags = host_fcntl(s, F_GETFL, 0);
flags = fcntl(newfd, F_GETFL, 0);
flags = fcntl(control_socket, F_GETFL, NULL);
if ((fd_flags = fcntl(fd, F_GETFL)) == -1)
flags = fcntl(fd, F_GETFL, 0);
flags = fcntl(rfb->clientfd, F_GETFL, 0);
flags = fcntl(STDIN_FILENO, F_GETFL, 0);
SCARG(&fca, cmd) = F_GETFL;
case F_GETFL:
case F_GETFL:
case F_GETFL:
case F_GETFL: /* no arguments */
if (fcntl(fd, F_GETFL, &flags) == 0)
if ((opt = fcntl(fd, F_GETFL, NULL)) == -1)
ATF_REQUIRE((fcntl(efd, F_GETFL) & O_NONBLOCK) == 0);
ATF_REQUIRE((fcntl(efd, F_GETFL) & O_NONBLOCK) != 0);
ATF_REQUIRE((fcntl(efd, F_GETFL) & ~O_ACCMODE) == O_NONBLOCK);
ATF_REQUIRE((fcntl(fd[0], F_GETFL) & O_NONBLOCK) != 0);
ATF_REQUIRE((fcntl(fd[1], F_GETFL) & O_NONBLOCK) != 0);
ATF_REQUIRE((fcntl(fd[0], F_GETFL) & O_NONBLOCK) == 0);
ATF_REQUIRE((fcntl(fd[1], F_GETFL) & O_NONBLOCK) == 0);
RL(flags = fcntl(writefd, F_GETFL));
RL(flags = fcntl(writefd, F_GETFL));
RL(flags = fcntl(readfd, F_GETFL));
if (fcntl(fd, F_GETFL) != -1 || errno != EBADF)
ATF_REQUIRE((fcntl(fd[0], F_GETFL) & O_NONBLOCK) != 0);
ATF_REQUIRE((fcntl(fd[1], F_GETFL) & O_NONBLOCK) != 0);
ATF_REQUIRE((fcntl(fd[0], F_GETFL) & O_NONBLOCK) == 0);
ATF_REQUIRE((fcntl(fd[1], F_GETFL) & O_NONBLOCK) == 0);
flags = fcntl(fd, F_GETFL);
ATF_REQUIRE((fcntl(tfd, F_GETFL) & O_NONBLOCK) == 0);
ATF_REQUIRE((fcntl(tfd, F_GETFL) & O_NONBLOCK) != 0);
ATF_REQUIRE((fcntl(tfd, F_GETFL) & ~O_ACCMODE) == O_NONBLOCK);
ATF_CHECK_EQ(O_RDWR|O_NONBLOCK, fcntl(fdm, F_GETFL));
RL(fl = rump_sys_fcntl(ls, F_GETFL));
} while (fcntl(fd2, F_GETFL) != -1 || errno != EBADF);
RL(x = rump_sys_fcntl(s, F_GETFL, 0));
fl = fcntl(srvr, F_GETFL, 0);
fl = fcntl(acpt, F_GETFL, 0);
fl = fcntl(acpt, F_GETFL, 0);
if ((flags = fcntl(data, F_GETFL, 0)) == -1)
if ((flags = fcntl(sock, F_GETFL, 0)) == -1) {
if ((flags = fcntl(sock, F_GETFL, 0)) == -1) {
CASERETURN(F_GETFL);
int oflag = fcntl(fd, F_GETFL, 0);
int flags = fcntl(fd, F_GETFL, 0);
((fcarg = fcntl(FD, F_GETFL, 0)) < 0 ||
sopts = fcntl(p->socket, F_GETFL);
flags = fcntl(disc->fhandle, F_GETFL);
if ((flags = fcntl(fd, F_GETFL, 0)) == -1)
if ((flg = fcntl(fd, F_GETFL)) == -1)
flags = fcntl(tp->fd, F_GETFL);
(void)fcntl(rpcsock, F_SETFL, fcntl(rpcsock, F_GETFL, 0) | FNDELAY);
(void)fcntl(pingsock, F_SETFL, fcntl(pingsock, F_GETFL, 0) | FNDELAY);