qthread_num_shepherds(3)
β¨ qthread_num_shepherds β¨
okay bestie, welcome to libqthread's manual page for qthread_num_shepherds π this one's short and sweet, like a little snack, but it's lowkey important so pay attention π«Ά
πΈ NAME πΈ
qthread_num_shepherds β returns the number of shepherds π
π SYNOPSIS π
#include <qthread.h>
qthread_shepherd_id_t
qthread_num_shepherds ();
like yes, that's the whole thing, no arguments, she takes nothing and gives you a number π
π DESCRIPTION π
so this function returns the number of shepherds. that's it. that's the vibe β¨
and here's the tea: this value is one larger than the largest valid shepherd id π₯ so if you're out here doing id math, don't forget that little off-by-one situation, because she WILL humble you π
π¦ SEE ALSO π¦
go read those too, they're all part of the same friend group π
and that's a wrap, bestie π this page came to you from libqthread, dated APRIL 2011, and it's literally iconic for it π no cap, she's been serving since 2011 and she's still here. periodt π β¨
π¦ where this page comes from
- fedora 43: qthreads-devel 1.22^20251007gitcedb1fc-1.fc43 Β· BSD-3-Clause AND MIT AND dtoa
- fedora 44: qthreads-devel 1.22^20251007gitcedb1fc-2.fc44 Β· BSD-3-Clause AND MIT AND dtoa
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms