Previous PageTable Of ContentsHomeIndexNext Page


5.  Error Handling and Error Codes


Top Of Page5.1.  Error Handling

All learn mode library functions return a value to indicate success or failure of the function. A return value of zero or a non-negative number indicates success. A return value of -1 indicates failure.

If a library function fails, call the standard attribute functions ATDV_LASTERR( ) and ATDV_ERRMSGP( ) to determine the reason for failure. For more information on these functions, see the Voice Software Reference - Standard Runtime Library.

NOTE:
If ATDV_LASTERR( ) returns the EDX_SYSTEM error code, an operating system error has occurred. Check the global variable errno contained in errno.h. Use dx_fileerrno( ) to obtain the system error value.

For a list of errors that can be returned by a learn mode library function, see 5.2.  Learn Mode Error Codes.


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Telecom Support Resources

Copyright 2003, Intel Corporation
All rights reserved
This page generated January, 2003