lsm_connect_close - Man Page

Closes a connection to a storage provider.

Synopsis

int lsm_connect_close (lsm_connect *conn, lsm_flag flags);

Arguments

conn

Valid connection to close

flags

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.

Info

July 2024 Libstoragemgmt C API Manual