Mercurial > dovecot > core-2.2
view src/lib/fd-set-nonblock.h @ 14634:a65006d95d53
fd_set_nonblock() API changed to i_fatal() on failure.
Pretty much none of its users were checking if it failed, and there's really
no good reason for it to fail anyway.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 24 Jun 2012 19:35:11 +0300 |
parents | e4eb71ae8e96 |
children |
line wrap: on
line source
#ifndef FD_SET_NONBLOCK_H #define FD_SET_NONBLOCK_H /* Set file descriptor to blocking/nonblocking state */ void fd_set_nonblock(int fd, bool nonblock); #endif