lsm_error_last_get - Man Page

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.

Info

July 2024 Libstoragemgmt C API Manual