IS_ERR_OR_NULL(9)
πΈ NAME πΈ
okay so bestie, this is IS_ERR_OR_NULL from the Kernel API Manual, and its whole job is to detect an error pointer or a null pointer. that's the assignment, and it ate π
β¨ SYNOPSIS β¨
the signature is literally:
bool IS_ERR_OR_NULL (__force const void *ptr );
π ARGUMENTS π
ptrβ the pointer to check. yes queen, that's the one π«Ά
π DESCRIPTION π
It's giving IS_ERR, but it also returns true for a null pointer. so it's the "error pointer or null pointer" vibe check, periodt β¨
π¦ SEE ALSO π¦
Kernel file ./include/linux/err.h β and the whole linked-up squad:
okay bye bestie π«Ά this page is from ./include/linux, dated October 2026, and it's IS_ERR_OR_NULL(9) ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms