LIBNVME_CTRL_GET_HDR_DIGEST-LIBNVME3(2)

πŸ“¦ version 3.2, in arch rolling

✨ libnvme_ctrl_get_hdr_digest(9) ✨

okay bestie, so this one is from the libnvme API manual, and it is literally the shortest little function ever β€” but she still ate, okay? πŸ’… Let's get into it.


🌸 NAME 🌸

libnvme_ctrl_get_hdr_digest β€” get hdr_digest. that's it. that's the whole vibe. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

bool libnvme_ctrl_get_hdr_digest (const struct libnvme_ctrl *p );

(yeah, she's got a lil extra space before the ) β€” we don't judge, we love her as she is πŸ˜­πŸ’–)


πŸ“ ARGUMENTS πŸ“

  • p β€” the struct libnvme_ctrl instance you wanna query, bestie. she's const, so like… hands off, we're only looking πŸ‘€βœ¨

🌈 RETURN 🌈

it gives you back the value of the hdr_digest field. that's the whole personality. lowkey iconic for how simple it is. 🫢

heads up: the return type is bool, so it's a cute lil true/false situation, no cap. 🧚

and that's the page!! short and sweet and honestly she slayed it πŸ’œ

libnvme API manual β€’ October 2026 β€’ libnvme_ctrl_get_hdr_digest(9) β€” mwah, hope this helped, ily, go forth and query your ctrl structs πŸ’–πŸŽ€πŸ¦‹β­πŸŒΈ

πŸ“¦ where this page comes from