lsm_connect_timeout_get - Man Page

Gets the time-out for this connection.

Synopsis

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

Arguments

conn

Valid lsm_connect pointer.

timeout

Output pointer of uint32_t. Time-out in ms.

flags

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.

Info

April 2023 Libstoragemgmt C API Manual