Previous PageTable Of Contents../index.htmlIndexNext Page



5.13. DX_UIO: User-Defined Input/Output

The DX_UIO data structure contains parameters for User-Defined Input/Output.

This structure, returned by dx_setuio( ), contains pointers to user-defined I/O functions for accessing nonstandard storage devices.

The typedef for the structure is as follows:

Parameter

Description

u_read

Points to the user-defined read( ) function, which returns an integer equal to the number of bytes read or -1 for error.

u_write

Points to the user-defined write( ) function, which returns an integer equal to the number of bytes written or -1 for error.

u_seek

Points to the user-defined lseek( ) function, which returns a long equal to the offset into the I/O device where the read or write is to start or -1 for error.


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

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