xas_error(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xas_error β€” Kernel API Manual, section 9 πŸ’–

Bestie, welcome to the xas_error page from the Kernel API Manual, section 9. It’s giving tiny-but-important xarray energy. πŸ¦‹


🌸 NAME 🌸

xas_error β€” Return an errno stored in the xa_state.


✨ SYNOPSIS ✨

int xas_error (const struct xa_state *xas );

πŸŽ€ ARGUMENTS πŸŽ€

  • xas β€” XArray operation state. That’s the state bestie; it’s the thing you’re checking. πŸ’…

πŸ’œ RETURN πŸ’œ

  • 0 if no error has been noted.
  • A negative errno if one has.

Like, literally that’s the vibe check: 0 means no error was noted, and a negative errno means one was. No cap. 🌈


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/linux/xarray.h β€” and then the whole iconic extended family:


Byeee bestie 🫢 β€” this one comes from ./include/linux, dated October 2026, and it’s literally the xas_error(9) page. Slay and read responsibly. πŸ’–βœ¨

πŸ“¦ where this page comes from