Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

ctGetUserErrorCode

Declaration

COUNT ctGetUserErrorCode()

Description

Returns the last API operation return code. This is the equivalent of the uerr_cod global variable.

Return Values

Value

Symbolic Constant

Explanation

0

NO_ERROR

Successful operation.

See c-tree Plus Error Codes for a complete listing of valid c-tree Plus error values.

Example


NINT rc = 0


rc = CreateIFile(&my_ifil);

if ( rc )

printf("Error %d in creating file. Check I/O code %d\n", rc, ctGetSystemErrorCode() );

See Also

  • ctGetIsamErrorCode()
  • ctGetIsamFileNbr()
  • ctGetSystemErrorCode()

TOCIndex