fcntl_flags
} fcntl_flags[] = {
for (size_t i = 0; i < ARRAY_SIZE(fcntl_flags); i++) {
struct fcntl_flags *fp = &fcntl_flags[i];
int fcntl_flags; /* The new file-descriptor control flags */
fcntl_flags = fcntl(fd, F_GETFL) | NON_BLOCKING_FLAG;
if(fcntl(fd, F_SETFL, fcntl_flags) == -1) {
int fcntl_flags; /* The new file-descriptor control flags */
fcntl_flags = fcntl(fd, F_GETFL) & ~NON_BLOCKING_FLAG;
if(fcntl(fd, F_SETFL, fcntl_flags) == -1) {