1lsm_connect_timeout_set(3)Libstoragemgmt C API Manuallsm_connect_timeout_set(3)
2
3
4
6 lsm_connect_timeout_set - Sets the time-out for this connection.
7
9 int lsm_connect_timeout_set (lsm_connect *conn, uint32_t timeout,
10 lsm_flag flags);
11
13 conn Valid lsm_connect pointer.
14
15 timeout Time-out in ms.
16
17 flags Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
18
20 1.0
21
23 Sets the time-out for this connection.
24
26 Error code as enumerated by 'lsm_error_number'.
27 * LSM_ERR_OK
28 On success.
29 * LSM_ERR_INVALID_ARGUMENT
30 When any argument is NULL or invalid lsm_connect or invalid
31 flags.
32
33
34
35May 2021 lsm_connect_timeout_set lsm_connect_timeout_set(3)