LIBNVMF_REGISTRY_ATTR_EQUAL-LIBNVME3(2)
Hey bestie, welcome to libnvmf_registry_attr_equal(9) from the libnvme API manual, section 9 energy. Weβre comparing a registry attribute to a value, and itβs giving very precise. π
β¨
πΈ NAME πΈ
libnvmf_registry_attr_equal β compare a registry attribute to a value π
β¨ SYNOPSIS β¨
int libnvmf_registry_attr_equal (struct libnvme_global_ctx *ctx , const char *device , const char *attr , const char *value );
π ARGUMENTS π
ctxβ libnvme global context; must not be NULL π«Άdeviceβ kernel device name (e.g."nvme3") πΈattrβ attribute name to compare (e.g."owner") π¦valueβ value to compare against;NULLmeans "attribute absent" π
π RETURN π
0ifattrequalsvalueβ and yes, a missing attribute equals aNULLvalue πβ¨>0if it differs π₯- negative
errnoon a read error π
Final sign-off from the libnvme API manual source/version corner, dated October 2026, for libnvmf_registry_attr_equal(9). Periodt. π
π
π¦ 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