Scroll to navigation

lsm_connect_close(3) Libstoragemgmt C API Manual lsm_connect_close(3)

NAME

lsm_connect_close - Closes a connection to a storage provider.

SYNOPSIS

int lsm_connect_close (lsm_connect *conn, lsm_flag flags);

ARGUMENTS

Valid connection to close
Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.

VERSION

1.0

DESCRIPTION

Closes a connection to a storage provisioning.

RETURN

Error code as enumerated by 'lsm_error_number'.
* LSM_ERR_OK
On success.
* LSM_ERR_INVALID_ARGUMENT
When not a valid lsm_connect pointer or invalid flags.

lsm_connect_close April 2021