plist_node_empty(9)
π plist_node_empty β the Kernel API Manual moment π
okay so bestie, this one is from the Kernel API Manual (that's the manual name, we're not copying the header line, we're just β¨acknowledgingβ¨ it), and it's literally the tiniest little vibe check in the whole plist family. Let me tell you about it π«Ά
πΈ NAME πΈ
plist_node_empty β returns !0 if plist_node is not on a list
yes you read that right, the naming is giving chaotic-but-iconic π it's "empty" but the doc line says it returns !0 when the node is not on a list. Do not ask me to explain the branding, I just report it fr fr. Copy the behaviour exactly, don't second-guess it.
β¨ SYNOPSIS β¨
int plist_node_empty (const struct plist_node *node );
that's it. that's the whole function signature. no cap, she's small but she's main character energy π
π¦ ARGUMENTS π¦
nodeβ astruct plist_nodepointer π (this is the node you're asking about, the one you want the empty-or-not tea on)
π SEE ALSO π
okay so there's a whole friend group here, and honestly? obsessed. they all live in the kernel file ./include/linux/plist.h π:
PLIST_HEAD_INIT(9)PLIST_HEAD(9)PLIST_NODE_INIT(9)plist_head_init(9)plist_node_init(9)plist_for_each(9)plist_for_each_continue(9)plist_for_each_safe(9)plist_for_each_entry(9)plist_for_each_entry_continue(9)plist_for_each_entry_safe(9)plist_head_empty(9)plist_first_entry(9)plist_last_entry(9)plist_next(9)plist_prev(9)plist_first(9)plist_last(9)
like, the whole plist crew showed up to the group chat π go read them, iykyk π
π and that's the page, bestie β brought to you by the source path ./include/linux, dated October 2026, filed under plist_node_empty(9). mwah, slay, stay hydrated π§π
π¦ 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