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

FreeBSD Manual Pages

  
 
  

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

NAME
     io_timeout - set time limit on descriptor

SYNTAX
     #include <libowfat/io.h>

     void io_timeout(int64 fd,tai6464 deadline);

DESCRIPTION
     The  io library keeps track of an optional ``timeout'' for each descriptor.
     The timeout is a specific moment in time, stored in a tai6464 variable.

     io_timeout(d,t) sets the timeout for descriptor d to t.

     io_timeout has no return value; it always succeeds.  (Space  to  store  the
     timeout  was already allocated as part of the descriptor.) It has no effect
     if d is not the number of a descriptor.

     Note that you have to call io_timeouted to be notified  of  timeouts,  just
     like you are calling io_canread or io_canwrite for read and write notifica-
     tion.

SEE ALSO
     io_waituntil(3), io_timeouted(3)

								   io_timeout(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=libowfat_io_timeout&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help