| OpenSS7 SS7 for the Common Man | © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. Last modified: Sat, 01 Nov 2008 10:42:21 GMT | ||||||||||||||||
| |||||||||||||||||
| Description: Manual PageKeywords: ss7 ss7/ip ss7 over ip ss7 mtp ss7 sccp ss7 tcap sigtran mtp sccp tcap openss7 acb56 linux telephony pstn linux telephony linux nebs linux compactpciCDI_READ_DATASection: OpenSS7 CDI API Library (3)Updated: 2008-10-31 Index Return to Main Contents NAMEcdi_read_data - read data from CDI stream.INTERFACElibdlpiapi(3), the GCOM-specific, CDI[1] API Library[2]. SYNOPSIS#include <sys/cdi.h>
ARGUMENTS
DESCRIPTIONcdi_read_data is a CDI API Library[2] subroutine. USAGETo use the cdi_read_data function, include <sys/cdi.h> and <cdiapi.h> header files in C language programs. Add the `-lcdiapi' flag to the linker command when linking C language programs that use the cdi_read_data function. MT CONTEXTcdi_read_data is fully thread-safe. What is described as global variables are in fact thread-specific data when linked with libpthread. RETURNWhen cdi_read_data is successful, it returns zero (0) or a positive integer value. When cdi_read_data fails, it returns a negative integer value (-1). ERRORSWhen cdi_read_data fails, it returns a negative integer value (-1). cdi_read_data may fail when:
In addition, any of the error number returned by cdi_get_a_msg(3) can be returned by cdi_read_data. NOTICEScdi_read_data is a GCOM-specific function. It may be necessary to define the C preprocessor symbol, _GCOM_SOURCE, before including the <sys/cdi.h> header file, to expose this symbolic constants, data structures and declarations necessary for the use of this function. It may also be necessary to include the <cdiapi.h> header file to expose this symbolic constants, data structures and declarations necessary for the use of this function. FILES
BUGScdi_read_data has no known bugs. SEE ALSOcdi(7), cdiapi(3), STREAMS(9). COMPATIBILITYcdi_read_data is compatible with the GCOM CDI API Library[3], and system providing an interface equivalent to the GCOM CDI API Library, with the following portability considerations:
For further compatibility information, see cdiapi(3), cdi(7), STREAMS(9). CONFORMANCECDI[1], and GCOM CDI API documentation[2]. HISTORYThe Communications Device Interface (CDI)[1], cdi(7), was developed by NCR Comten. cdi_read_data first appeared in the GCOM CDI API[2]. VERSIONSThis manual page was written for the OpenSS7 XNS Networking implementation of the CDI API Library. REFERENCES
TRADEMARKS
Other trademarks are the property of their respective owners. IDENTIFICATION
Copyright©1997-2008OpenSS7 Corp.
All Rights Reserved.
Index
This document was created by man2html, using the manual pages. Time: 04:16:05 GMT, May 24, 2013 | ||||||||||||||||
| OpenSS7 SS7 for the Common Man |
| ||||||||||||||||
| Last modified: Sat, 01 Nov 2008 10:42:21 GMT © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. |