GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  LIBOWFAT_IO_TIMEOUT (3)

NAME

io_timeout - set time limit on descriptor

CONTENTS

Syntax
Description

SYNTAX

#include <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 notification.

SEE ALSO

io_waituntil(3), io_timeouted(3)
Search for    or go to Top of page |  Section 3 |  Main Index


IO_TIMEOUT (3) -->

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.