lsm_conne...imeout_get(3)

πŸ“¦
version 1.10.3 Β· 3 versions
, in fedora 43, fedora 44

✨ NAME ✨

lsm_connect_timeout_get β€” bestie, this one grabs the time-out for your connection πŸ’–

It lives in the Libstoragemgmt C API Manual, just so you know which family we're in 🫢


🌸 SYNOPSIS 🌸

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

πŸŽ€ ARGUMENTS πŸŽ€

  • conn β€” a valid lsm_connect pointer. Valid, okay? We are not doing the invalid thing πŸ™ˆ
  • timeout β€” output pointer of uint32_t. The time-out, in ms. Yes bestie, milliseconds, so if you wanted seconds you're gonna have to do math 😭
  • flags β€” reserved for future use, must be LSM_CLIENT_FLAG_RSVD. It's giving "reserved", it's giving "don't get creative with this one" πŸ’…

⭐ VERSION ⭐

1.0 β€” the icon that she is πŸ‘‘


πŸ’« DESCRIPTION πŸ’«

Gets the time-out for this connection. That's it, that's the whole vibe 🌈

Like literally, you hand it a connection, it hands you back how long that connection is willing to wait before it's like "bestie I'm done". No cap.


πŸ”₯ RETURN πŸ”₯

Returns an error code, as enumerated by lsm_error_number. Here's the rundown:

  • LSM_ERR_OK
    • On success. Slay πŸ’…
  • LSM_ERR_INVALID_ARGUMENT
    • When any argument is NULL, or it's not a valid lsm_connect pointer, or the flags are invalid. Basically if you came in sloppy, she will clock it πŸ’€

Heads up babes: any argument being NULL, a conn that isn't a real valid lsm_connect pointer, or bad flags all land you on LSM_ERR_INVALID_ARGUMENT. So check yourself before you wreck yourself 🫢

Okay that's the whole page bestie, you're officially fluent in connection time-outs ✨

Signed off with love, February 2026 edition, lsm_connect_timeout_get from the lsm_conne...imeout_get(3) girlies πŸŽ€

πŸ“¦ where this page comes from