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:
qb_loop_job_del(3)qb_loop_run(3)qb_loop_create(3)qb_loop_stop(3)qb_loop_poll_low_fds_event_set(3)qb_loop_signal_del(3)qb_loop_signal_add(3)qb_loop_job_add(3)qb_loop_destroy(3)qb_loop_timer_expire_time_remaining(3)qb_loop_poll_mod(3)qb_loop_signal_mod(3)qb_loop_timer_del(3)qb_loop_timer_add(3)qb_loop_timer_is_running(3)qb_loop_timer_expire_time_get(3)qb_loop_poll_add(3)
that's the whole group chat, iykyk. π
π COPYRIGHT π
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
- fedora 44: libqb-devel 2.0.9-2.fc44 Β· LGPL-2.1-or-later
- fedora 44: libqb-devel 2.0.9-2.fc44 Β· LGPL-2.1-or-later
- ubuntu resolute: libqb-dev 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- ubuntu stonking: libqb-dev 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms