fcntl 519 lib/common/io.c int flag = fcntl(fd, F_GETFL); fcntl 524 lib/common/io.c if (fcntl(fd, F_SETFL, flag | O_NONBLOCK) < 0) {