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  -  TIMEOUT_FDOPEN (3)

NAME

timeout_fdopen - I/O streams with timeouts

CONTENTS

Library
Synopsis
Description
Return Values
See Also
History
Authors

LIBRARY

PDEL Library (libpdel, -lpdel)

SYNOPSIS


.In sys/types.h
.In stdio.h
.In pdel/io/timeout_fp.h FILE * timeout_fdopen int fd const char *mode int timeout

DESCRIPTION

timeout_fdopen is equivalent to fdopen(3) with the addition of an enforced timeout on read or write operations on the underlying file descriptor fd.

If any read or write operation blocks for longer than timeout seconds, an error is returned with errno set to ETIMEDOUT.

If timeout is zero or negative, no timeout is imposed and the behavior is identical to fdopen(3).

fclose(3) should be used to close the returned stream.

RETURN VALUES

timeout_fdopen returns NULL to indicate an error, with errno set appropriately.

SEE ALSO

fdopen(3), libpdel(3)

HISTORY

The PDEL library was developed at Packet Design, LLC. http://www.packetdesign.com/

AUTHORS


.An Archie Cobbs Aq archie@freebsd.org
Search for    or go to Top of page |  Section 3 |  Main Index


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