Scroll to navigation

lsm_connect_timeout_get(3) Libstoragemgmt C API Manual lsm_connect_timeout_get(3)

NAME

lsm_connect_timeout_get - Gets the time-out for this connection.

SYNOPSIS

int lsm_connect_timeout_get (lsm_connect *conn, uint32_t *timeout, lsm_flag flags);

ARGUMENTS

Valid lsm_connect pointer.
Output pointer of uint32_t. Time-out in ms.
Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.

VERSION

1.0

DESCRIPTION

Gets the time-out for this connection.

RETURN

Error code as enumerated by 'lsm_error_number'.
* LSM_ERR_OK
On success.
* LSM_ERR_INVALID_ARGUMENT
When any argument is NULL or not a valid lsm_connect pointer
or invalid flags.

lsm_connect_timeout_get April 2021