wait_for_status_poll(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ wait_for_status_poll(9) ✨

okay bestie, we're in the Kernel API Manual today and this one is a lil function named wait_for_status_poll β€” she's out here waiting for a write to the api cmd command to complete πŸ’… like literally just sitting there until the thing finishes, no cap.


🌸 SYNOPSIS 🌸

int wait_for_status_poll (struct hinic_api_cmd_chain *chain );

one function, one argument, returns an int β€” she's lowkey simple like that πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • chain β€” the chain of the command πŸ’– that's it, that's the whole parameter. it's the struct hinic_api_cmd_chain * you're handing over.

⭐ DESCRIPTION ⭐

here's the whole vibe check, and honestly it's short and sweet:

  • 0 β€” Success πŸ‘‘
  • negative β€” Failure πŸ’€

that's the entire description fr fr. return 0 and you ate; return something negative and… not me getting an error 😭


🧚 SEE ALSO 🧚

the whole friend group, all of them (9) section besties 🫢:

and if you wanna read the actual source (iconic behaviour honestly), she lives in the kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c β€” go say hi πŸ¦‹


quick reminder bestie: 0 = slay, negative = πŸ’€. there is no in-between, the manpage said what it said.

okay that's the page!! mwah πŸ’– this lil entry came from ./drivers/net/ethernet/huawei/... and it's dated October 2026 β€” periodt, go poll that status bestie βœ¨πŸŽ€

πŸ“¦ where this page comes from