QB_LOOP_POLL_DEL(3)

πŸ’– QB_LOOP_POLL_DEL β€” bestie, we're deleting a poll job πŸ’–

okay so this is a page from the libqb Programmer's Manual, and it's all about qb_loop_poll_del(3) β€” one tiny little function with big main-character energy. no cap, it does exactly one thing and it does it fabulously. 🌸


✨ NAME ✨

qb_loop_poll_del β€” Delete a poll job. that's it. that's the whole vibe. πŸ’…


🌈 SYNOPSIS 🌈

#include <qb/qbloop.h>

int32_t qb_loop_poll_del(
    qb_loop_t   *l,   /* pointer to the loop instance */
    int32_t      fd   /* file descriptor. */
);

like. look at her. two params, one int32_t return, zero drama. 🫢


πŸŽ€ PARAMS πŸŽ€

  • l β€” pointer to the loop instance. you know, the loop. the one you made. she's the moment. πŸ‘‘
  • fd β€” file descriptor. the specific fd you want un-polled, fr fr.

πŸ¦‹ DESCRIPTION πŸ¦‹

so this is the part where the original manpage… leaves it blank. 😭 literally nothing here. not one word. it's giving mystery, it's giving "the author said figure it out bestie", and I am NOT about to make stuff up and lie to you. so: no description provided, and that's on the original page, not on me. πŸ™ˆ

real talk though β€” the NAME section already spilled the tea: this function deletes a poll job. anything more than that, I'm not inventing, periodt.

⭐ RETURN VALUE ⭐

  • status (0 == ok, -errno == failure)

so 0 means slay πŸ’– and a negative errno means… not slay. 😭 check that return value, bestie, I'm begging.


πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, in the order the original rolled with:

that's the whole group chat, iykyk. 🌈


Copyright (C) 2010-2020 Red Hat, Inc.


and that's the page!! πŸ’– this one's from LIBQB, dated 2025-09-16, filed under QB_LOOP_POLL_DEL(3). go delete that poll job, bestie, you got this. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from