The lld_close() function
This function closes the specified large object.
Syntax
API
mi_integer lld_close (conn, io, error)
MI_CONNECTION* conn;
LLD_IO* io;
mi_integer* error;
ESQL/C
int lld_close (LLD_IO* io, 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 version of this function, you must already be connected to a server.
- io
- A pointer to an LLD_IO structure created with a previous call to the lld_open() function.
- error
- An output parameter in which the function returns an error code.
Usage
The lld_close() function closes the open large object and frees the memory allocated for the LLD_IO structure, which you cannot use again after this call.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 it fails.