LIBNVME_GET_LOGICAL_BLOCK_SIZE-LIBNVME3(2)

πŸ“¦ version 3.2, in arch rolling

πŸ’– NAME πŸ’–

libnvme_get_logical_block_size β€” retrieve block size, bestie ✨ this is the libnvme API manual and we are literally about to get that block size πŸŽ€


🌸 SYNOPSIS 🌸

int libnvme_get_logical_block_size (struct libnvme_transport_handle *hdl
, __u32 nsid , int *blksize );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • hdl β€” transport handle 🫢
  • nsid β€” namespace id ✨
  • blksize β€” pointer to where the block size will be set on success πŸ’…

πŸ”₯ RETURN πŸ”₯

0 on success, the nvme command status if a response was received (see enum nvme_status_field), or a negative error otherwise 😭


okay that's the whole vibe, bestie πŸ’œ this page is from the libnvme API manual, dated October 2026, and we're signing off with the footer deets: libnvme_get_logical_bloclibnvme_get_...l_block_size(9) πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from