Searched refs:fcntl_flags (Results 1 – 3 of 3) sorted by relevance
2454 static struct fcntl_flags { struct2457 } fcntl_flags[] = { variable2497 for (size_t i = 0; i < ARRAY_SIZE(fcntl_flags); i++) { in prt_ffg()2498 struct fcntl_flags *fp = &fcntl_flags[i]; in prt_ffg()
612 int fcntl_flags = fcntl(sdr->sockfd, F_GETFD); in ConnectToServer() local613 if (fcntl_flags != -1) in ConnectToServer()615 fcntl_flags |= FD_CLOEXEC; in ConnectToServer()616 int ret = fcntl(sdr->sockfd, F_SETFD, fcntl_flags); in ConnectToServer()
2702 int fcntl_flags; /* The new file-descriptor control flags */ in gl_nonblocking_io() local2717 fcntl_flags = fcntl(fd, F_GETFL) | NON_BLOCKING_FLAG; in gl_nonblocking_io()2721 if(fcntl(fd, F_SETFL, fcntl_flags) == -1) { in gl_nonblocking_io()2738 int fcntl_flags; /* The new file-descriptor control flags */ in gl_blocking_io() local2747 fcntl_flags = fcntl(fd, F_GETFL) & ~NON_BLOCKING_FLAG; in gl_blocking_io()2751 if(fcntl(fd, F_SETFL, fcntl_flags) == -1) { in gl_blocking_io()