Mercurial > dovecot > core-2.2
view src/lib/fd-set-nonblock.h @ 19604:c996bc091c6b
master: Do not close stdout if going foreground
This lets one to use /dev/stdout for logging. Mainly
useful for testing purposes where we can generate
log output to stdout and use tee to write it to a
file for later examination.
author | Aki Tuomi <aki.tuomi@dovecot.fi> |
---|---|
date | Mon, 18 Jan 2016 15:50:23 +0200 |
parents | a65006d95d53 |
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