qb_loop_timer_expire_time_remaining(3)

qb_loop_timer_expire_time_remaining3

Get the time remaining before the timer expires.

Usage

#include <qb/qbloop.h>

uint64_t qb_loop_timer_expire_time_remaining(
    struct qb_loop       *l,   /* pointer to the loop instance */
    qb_loop_timer_handle  th   /* timer handle. */
);

Params

l pointer to the loop instance

th timer handle.

Overview

Return value

nano seconds remaining until the timer expires

Note

if the timer has already expired it will return 0

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

From libqb 2.0.10-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.