Previous PageTable Of Contents../index.htmlIndexNext Page


5.5. Creating User-Defined I/O Functions

In your fax application, you may want to replace the use of the standard I/O functions lseek( ), read( ) and write( ) with your own I/O functions.

To receive fax data using user-defined I/O functions, you must "OR" the rcvflag argument of the fx_rcvfax2( ) function with the IO_UIO bit. The fax library calls the user-defined seek and write functions every time fax data is written to the I/O device. The fd argument in fx_rcvfax2( ) specifies the file descriptor passed to the I/O functions.

For information on the DF_UIO structure, see Section 7.7. DF_UIO -- User-Defined I/O on page 115.


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2002, Intel Corporation
All rights reserved
This page generated February, 2002