Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
io_timeouted(3)		   Library Functions Manual	       io_timeouted(3)

NAME
       io_timeouted - return a file descriptor over deadline

SYNTAX
       #include	<io.h>

       int64 io_timeouted();

DESCRIPTION
       io_timeouted  returns  the next file descriptor that is past it's dead-
       line.  If no descriptors	are past their deadlines, it returns -1.

       After io_timeouted() returned -1, you should wait a second before call-
       ing  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)

							       io_timeouted(3)

NAME | SYNTAX | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=libowfat_io_timeouted&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help