sg_lock_mutex(3)
okay so welcome to the sg_lock_mutex(3) manual β that's the title and the manual name, folded in at the top instead of duplicating a header line, slay π
β¨
πΈ NAME πΈ
sg_lock_mutex, sg_unlock_mutex β guard not MT-safe system API. no cap, that's the whole name-section tea π«Ά
β¨ SYNOPSIS β¨
the exact lineup, character for character:
#include <statgrab.h>
sg_error sg_lock_mutex (char const *mutex_name);
sg_error sg_unlock_mutex (char const *mutex_name);
π¦ DESCRIPTION π¦
okay bestie, real talk: the DESCRIPTION section in this page is literally empty. not a single paragraph, not a single extra sentence. we are not inventing lore β the section stays here, minimalist icon energy, and the facts stay exactly as delivered ππ
π RETURN VALUES π
both functions return a statgrab error code β here's the full error-code menu, no skips:
SG_ERROR_NONEβ no error. periodt.SG_ERROR_INVALID_ARGUMENTβ unknown name for mutex. that's the vibe check result.SG_ERROR_MUTEX_LOCKβ thread library error, error code is set with the delivered value. iykyk.SG_ERROR_MUTEX_UNLOCKβ thread library error, error code is set with the delivered value. same energy, unlock edition π
π₯ SEE ALSO π₯
statgrab(3)β go read that next, bestie π
π WEBSITE π
the website is literally β¨https://libstatgrab.org/β© β iconic URL behavior, go touch grass on the internet πβ¨
signing off with the footer tea: source/version libstatgrab, date 2019-03-08 β that's the whole sign-off, periodt ππ¦
π¦ where this page comes from
- alpine 3.24: libstatgrab-doc 0.92.1-r1 Β· LGPL-2.0-or-later
- arch rolling: libstatgrab 0.92.1-2 Β· LGPL AND GPL
- fedora 43: libstatgrab-devel 1:0.92.1-14.fc43 Β· LGPL-2.1-or-later
- fedora 43: libstatgrab-devel 1:0.92.1-14.fc43 Β· LGPL-2.1-or-later
- fedora 44: libstatgrab-devel 1:0.92.1-15.fc44 Β· LGPL-2.1-or-later
- fedora 44: libstatgrab-devel 1:0.92.1-15.fc44 Β· LGPL-2.1-or-later
- nixos 26.05: libstatgrab 0.92.1
- nixpkgs unstable: libstatgrab 0.92.1
- opensuse-leap 16.0: libstatgrab-devel 0.92.1-bp160.1.14 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: libstatgrab-devel 0.92.1-bp160.1.14 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: libstatgrab-devel 0.92.1-bp160.1.14 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: libstatgrab-devel 0.92.1-bp160.1.14 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms