qthread_shep_ok(3)

πŸ“¦ version 1.22^20251007gitcedb1fc, in fedora 43, fedora 44

✨ qthread_shep_ok(3) β€” the libqthread era ✨

ok bestie so this is a page from the libqthread manual, and honestly? it's short, it's sweet, and it's lowkey doing the most with the least. we love a minimal icon πŸ’…


🌸 NAME 🌸

qthread_shep_ok β€” check on whether a thread's shepherd is disabled

like... it's a vibe check, but for a shepherd πŸ‘βœ¨


πŸŽ€ SYNOPSIS πŸŽ€

#include <qthread.h>

int
qthread_shep_ok (void);

no args, no drama, just vibes 🫢


πŸ’– DESCRIPTION πŸ’–

okay so here's the tea, fr fr β˜•

This function returns zero if the current thread's shepherd has been disabled, and non-zero if the current thread's shepherd is enabled.

that's it. that's the whole function. it's giving "am I okay or not" energy and it answers in exactly one number πŸ”₯

🚨 bestie reminder: zero = shepherd is disabled, non-zero = shepherd is enabled. don't flip those, i'm begging 😭 the way that zero means "off" here is so real and so easy to mix up.

πŸ¦‹ SEE ALSO πŸ¦‹


and that's the whole page, no cap. go check on ur shepherds, they're doing their best πŸ‘πŸ’œ

this has been libqthread, APRIL 2011 β€” yes, april 2011, an absolute vintage icon, we stan an old queen πŸ‘‘βœ¨ mwah, bye bestie!! πŸŽ€πŸŒˆπŸ’…

πŸ“¦ where this page comes from