1lsm_connect_close(3) Libstoragemgmt C API Manual lsm_connect_close(3)
2
3
4
6 lsm_connect_close - Closes a connection to a storage provider.
7
9 int lsm_connect_close (lsm_connect *conn, lsm_flag flags);
10
12 conn Valid connection to close
13
14 flags Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
15
17 1.0
18
20 Closes a connection to a storage provisioning.
21
23 Error code as enumerated by 'lsm_error_number'.
24 * LSM_ERR_OK
25 On success.
26 * LSM_ERR_INVALID_ARGUMENT
27 When not a valid lsm_connect pointer or invalid flags.
28
29
30
31December 2019 lsm_connect_close lsm_connect_close(3)