The lld_delete_client() function

This function deletes the specified client file.

Syntax

API
mi_integer lld_delete_client(conn, path, error)
   MI_CONNECTION*               conn; 
   mi_string*                   path;
   mi_integer*                  error;
ESQL/C
int lld_delete_client (char* path,int* error);
conn
The connection descriptor established by a previous call to the mi_open() or mi_server_connect() functions. This parameter is for the API interface only. In the ESQL/C and SQL versions of this function, you must already be connected to a server.
path
A pointer to the path name of the client file.
error
An output parameter in which the function returns an error code.

Usage

This function deletes the specified client file and reclaims any allocated resources.

Return codes

For an API function, returns MI_OK if the function succeeds and MI_ERROR if it fails.

For an ESQL/C function, returns 0 if the function succeeds and -1 if the function fails.

Context

The lld_create_client() function