#define DB_SUCCESS (  )     ((int32_t)(x) >= DB_NOERROR)

Test whether an error code represents a successful result.

Parameters:
x Error code to be tested.
Returns:
true when the operation that set x was successful.
See also:
DB_FAILED, Error Handling


Copyright © 2005-2008 ITTIA®. All rights reserved.