Rechercher une page de manuel
io_timeouted.3diet
Langue: en
Version: 269175 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
io_timeouted - return a file descriptor over deadlineSYNTAX
#include <io.h>int64 io_timeouted();
DESCRIPTION
io_timeouted returns the next file descriptor that is past it's deadline. If no descriptors are past their deadlines, it returns -1.After io_timeouted() returned -1, you should wait a second before calling it again. Checking for connections past their deadline involves walking through the whole data structure, which may thrash the CPU cache needlessly. Treat it as an expensive operation.
SEE ALSO
io_wait(3), io_timeout(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre