logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nvme_get_features_write_protect - Get write protect feature

Arguments

       fd          File descriptor of nvme device

       nsid        Namespace ID

       sel         Select which type of attribute to return, see enumnvme_get_features_sel

       result      The command completion result from CQE dword0

Name

       nvme_get_features_write_protect - Get write protect feature

Return

       The  nvme  command  status  if  a response was received (see enumnvme_status_field) or -1 with errno set
       otherwise.

May 2025                                 nvme_get_features_write_protect      nvme_get_features_write_protect(2)

Synopsis

intnvme_get_features_write_protect(intfd,__u32nsid,enumnvme_get_features_selsel,__u32*result);

See Also