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

Parameters [Table of Contents] Usage

Open Client Client-Library/C Reference Manual

[-] Chapter 3 Routines
[-] ct_diag
[-] Return values

Return values

ct_diag returns the following values:

Return value

Meaning

CS_SUCCEED

The routine completed successfully.

CS_FAIL

The routine failed.

ct_diag returns CS_FAIL if the original error has made the connection unusable.

CS_NOMSG

The application attempted to retrieve a message whose index is higher than the highest valid index. For example, the application attempted to retrieve message number 3, but only 2 messages are queued.

CS_BUSY

An asynchronous operation is already pending for this connection. For more information, see "Asynchronous programming".

Common reasons for a ct_diag failure include:


Parameters [Table of Contents] Usage