Rechercher une page de manuel
io_trywritetimeout.3diet
Langue: en
Version: 281895 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
io_trywritetimeout - write to a descriptor without blockingSYNTAX
#include <io.h>int io_trywritetimeout(int64 fd,const char* buf,int64 len);
DESCRIPTION
io_trywritetimeout is identical to io_trywrite, with the following exception: if-
- •
- io_trywrite returns -1 (the descriptor is not ready for writing), and
- •
- the descriptor has a timeout, and
- •
- the write attempt was after the descriptor's timeout,
then io_trywritetimeout instead returns -2, with errno set to ETIMEDOUT.
SEE ALSO
io_nonblock(3), io_waitwrite(3), io_trywrite(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre