QB_UTIL_T..._EPOCH_GET(3)
π QB_UTIL_T..._EPOCH_GET(3) π
okay bestie, welcome to the libqb Programmer's Manual β this is a <3> page, which means it lives in the library section, and it's about grabbing a timestamp. no cap, that's the whole vibe. β¨
πΈ NAME πΈ
qb_util_timespec_from_epoch_get β Get the time in timespec since epoch.
like. that's it. that's the girl. she gets you a struct timespec that counts from the epoch. π°οΈ
π SYNOPSIS π
#include <qb/qbutil.h>
void qb_util_timespec_from_epoch_get(
struct timespec *ts /* (out) the timespec */
);
so you pull in the header, you hand her a pointer, she fills it in. void return, meaning she gives you nothing back β she just does it. main character energy fr fr. π
π¦ PARAMS π¦
ts(out) β the timespec. that's the one. it's an out param, so you're passing in the pointer and she's writing the time into it. that's the whole deal. π«Ά
β¨ DESCRIPTION β¨
bestie... there is literally nothing here. π the DESCRIPTION section on this page is empty. no tea, no shade, no words. i'm not gonna make stuff up about what it does beyond what's already up there, because that would be lying and lying is not the vibe.
so yeah β we keep it exactly as empty as the original left it. iconic of them honestly. π
π SEE ALSO π
go read your sisters, they're all here:
qb_util_nano_current_get(3)qb_util_stopwatch_stop(3)qb_util_stopwatch_split(3)qb_util_stopwatch_split_ctl(3)qb_thread_unlock(3)qb_strerror_r(3)qb_util_stopwatch_time_split_get(3)qb_util_set_log_function(3)qb_thread_lock_destroy(3)qb_thread_trylock(3)qb_util_nano_monotonic_hz(3)qb_util_nano_from_epoch_get(3)qb_util_stopwatch_create(3)qb_util_stopwatch_split_last(3)qb_thread_lock(3)qb_util_stopwatch_free(3)qb_thread_lock_create(3)qb_timespec_add_ms(3)qb_util_stopwatch_start(3)qb_util_stopwatch_us_elapsed_get(3)qb_util_stopwatch_sec_elapsed_get(3)
like a whole group chat of time and locking functions. periodt. π₯
π COPYRIGHT π
Copyright (C) 2010-2020 Red Hat, Inc.
and that's the page!! ππ this was page QB_UTIL_T..._EPOCH_GET(3) from the libqb Programmer's Manual, version LIBQB, dated 2025-09-16. mwah, love u, go get that timestamp. ππ¦πΈ
π¦ 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