Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Error handling [Table of Contents] Error and message handling

Open Client Client-Library/C Reference Manual

[-] Chapter 2 Topics
[-] Error handling
[-] Error reporting during initialization

Error reporting during initialization

This section describes how error information is returned during the initialization of a Client Library application.

cs_ctx_alloc and cs_ctx_global

When an application call to either cs_ctx_alloc or cs_ctx_global returns CS_FAIL, extended error information is sent to standard error (STDERR) and to the file sybinit.err. The sybinit.err file is created in the current working directory.

ct_init

When an application call to ct_init returns CS_FAIL due to a Net-Library(TM) error, extended error information is sent to standard error (STDERR) and to the file sybinit.err. The sybinit.err file is created in the current working directory.


Error handling [Table of Contents] Error and message handling