Reference

libnvme_ns_get_lba_shift-libnvme3(2)

Get lba_shift.

NAME

libnvme_ns_get_lba_shift - Get lba_shift.

SYNOPSIS

int libnvme_ns_get_lba_shift (const struct libnvme_ns *p , int *lba_shift , int dflt );

ARGUMENTS

p

The struct libnvme_ns instance to query.

lba_shift

Where to store the value on success.

dflt

Value to store in lba_shift on failure.

RETURN

0 on success, -ENOENT if the attribute does not exist, or a negative errno on failure.