libnvme_ctrl_get_tls_key(9)
β¨ libnvme_ctrl_get_tls_key β¨
okay so bestie, welcome to the libnvme API manual π
this one's a lil baby function but she's iconic in her own way β it's your girl libnvme_ctrl_get_tls_key, and she does exactly one thing and does it slay β¨
π NAME π
libnvme_ctrl_get_tls_key β literally just get the tls_key, no cap π«Ά
π¦ SYNOPSIS π¦
const char * libnvme_ctrl_get_tls_key (const struct libnvme_ctrl *p );
that's it. that's the whole vibe check π
πΈ ARGUMENTS πΈ
pβ thestruct libnvme_ctrlinstance you wanna query π this is the main character of the call, so hand her over and she'll tell you what's up π
β RETURN β
okay so this is the good part: you get back the value of the tls_key field π but if it's not set, you get NULL β so like, check for that before you go doing anything unhinged with it, fr fr π
that's the whole page bestie, short and sweet, no notes π mwah π
signing off from the libnvme API manual, dated October 2026 β stay slay, stay NULL-checked, and see you in the next manpage π§β¨
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms