Mercurial > dovecot > core-2.2
view src/lib/istream-timeout.h @ 22596:1a7bbda6284b
iostream-multiplex: Check return values in tests
author | Aki Tuomi <aki.tuomi@dovecot.fi> |
---|---|
date | Fri, 06 Oct 2017 08:52:18 +0300 |
parents | b1a756176ed2 |
children |
line wrap: on
line source
#ifndef ISTREAM_TIMEOUT_H #define ISTREAM_TIMEOUT_H /* Return ETIMEDOUT error if read() doesn't return anything for timeout_msecs. If timeout_msecs=0, there is no timeout. */ struct istream * i_stream_create_timeout(struct istream *input, unsigned int timeout_msecs); #endif