lsm_error_last_get

lsm_error_last_get(3)     Libstoragemgmt C API Manual    lsm_error_last_get(3)



NAME
       lsm_error_last_get - Retrieves the last error of the lsm connection.

SYNOPSIS
       lsm_error_ptr lsm_error_last_get (lsm_connect *conn);

ARGUMENTS
       conn        lsm_connect pointer.

VERSION
       1.0

DESCRIPTION
       Retrieves the last error of the lsm connection.

NOTE
       Address returned is valid until lsm_connect gets freed, copy return
       value if you need longer scope. Do not free returned pointer.

RETURN
       lsm_error_ptr. NULL if argument 'c' is NULL or not a valid lsm_connect
       pointer or no error exists.



May 2018                      lsm_error_last_get         lsm_error_last_get(3)