1lsm_error_last_get(3) Libstoragemgmt C API Manual lsm_error_last_get(3)
2
3
4
6 lsm_error_last_get - Retrieves the last error of the lsm connection.
7
9 lsm_error_ptr lsm_error_last_get (lsm_connect *conn);
10
12 conn lsm_connect pointer.
13
15 1.0
16
18 Retrieves the last error of the lsm connection.
19
21 Address returned is valid until lsm_connect gets freed, copy return
22 value if you need longer scope. Do not free returned pointer.
23
25 lsm_error_ptr. NULL if argument 'c' is NULL or not a valid lsm_connect
26 pointer or no error exists.
27
28
29
30May 2021 lsm_error_last_get lsm_error_last_get(3)