Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

CloseConnection

Forking a process with an active server connection causes the child and parent processes to each have a reference to the same connection. A new function, CLCONN(), was introduced to clean up one copy of this connection without breaking the other connection.

Declaration

ctCONV COUNT ctDECL CLCONN( VOID );

Short name

CLCONN()

Description

When a process with an active c-tree connection is forked and does not call exec(), CLCONN should be called by one of the resulting processes to clean up an existing connection rather than calling CLISAM().

This function is only available in client models.

Return Values

Value

Symbolic Constant

Explanation

0

CTDBRET_OK

Successful operation.

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

TOCIndex