Searched refs:fcntl_flags (Results 1 – 2 of 2) sorted by relevance
372 glong fcntl_flags; in g_io_unix_set_flags() local375 fcntl_flags = 0; in g_io_unix_set_flags()378 fcntl_flags |= O_APPEND; in g_io_unix_set_flags()381 fcntl_flags |= O_NONBLOCK; in g_io_unix_set_flags()383 fcntl_flags |= O_NDELAY; in g_io_unix_set_flags()386 if (fcntl (unix_channel->fd, F_SETFL, fcntl_flags) == -1) in g_io_unix_set_flags()402 glong fcntl_flags; in g_io_unix_get_flags() local405 fcntl_flags = fcntl (unix_channel->fd, F_GETFL); in g_io_unix_get_flags()407 if (fcntl_flags == -1) in g_io_unix_get_flags()415 if (fcntl_flags & O_APPEND) in g_io_unix_get_flags()[all …]
160 glong fcntl_flags; in g_unix_set_fd_nonblocking() local161 fcntl_flags = fcntl (fd, F_GETFL); in g_unix_set_fd_nonblocking()163 if (fcntl_flags == -1) in g_unix_set_fd_nonblocking()169 fcntl_flags |= O_NONBLOCK; in g_unix_set_fd_nonblocking()171 fcntl_flags |= O_NDELAY; in g_unix_set_fd_nonblocking()177 fcntl_flags &= ~O_NONBLOCK; in g_unix_set_fd_nonblocking()179 fcntl_flags &= ~O_NDELAY; in g_unix_set_fd_nonblocking()183 if (fcntl (fd, F_SETFL, fcntl_flags) == -1) in g_unix_set_fd_nonblocking()