TSEARCH(3POSIX)
π TSEARCH(3POSIX) β the POSIX Programmer's Manual, bestie edition π
okay so this one lives in the POSIX Programmer's Manual, and it's filed under TSEARCH(3POSIX), dated 2017, from the IEEE/The Open Group. periodt. let's get into it π¦
β¨ PROLOG β¨
so like, heads up first: this manual page is part of the POSIX Programmer's Manual. the Linux implementation of this interface may differ β so pls go consult the corresponding Linux manual page for the deets on Linux behavior π β or honestly, the interface might not even be implemented on Linux at all. vibe check: don't assume, go check. π
πΈ NAME πΈ
tsearch β search a binary search tree π³β¨
π SYNOPSIS π
#include <search.h>
void *tsearch(const void *key, void **rootp,
int (*compar)(const void *, const void *));
no cap, that's the whole signature. three args, one include, iconic. π
π«Ά DESCRIPTION π«Ά
bestie, here's the thing β this page is literally just gonna point you at tdelete(). that's it. that's the description. refer to tdelete(), fr fr. π
lowkey obsessed with how the entire DESCRIPTION section is one sentence. main character energy, honestly.
π COPYRIGHT π
okay now the legal tea, and we're keeping every drop βπ
portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1-2017, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. π
and listen β in the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. like, they're the final boss, no appeals. π«‘
the original Standard can be obtained online at http://www.opengroup.org/unix/online.html .
any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source files to man page format π β to report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .
β pro tip from me to you: this whole page is short and sweet and that is its whole brand. slay.
π okay that's the whole page bestie, we're done!! this little bundle of joy comes to you from IEEE/The Open Group, dated 2017, under the title TSEARCH(3POSIX) β take care of her, she's iconic π
β¨π
π¦ where this page comes from
- debian bookworm: manpages-posix-dev 2017a-2 Β· Other
- debian trixie: manpages-posix-dev 2017a-2 Β· Other
- ubuntu jammy: manpages-posix-dev 2017a-2 Β· Other
- ubuntu noble: manpages-posix-dev 2017a-2 Β· Other
- ubuntu resolute: manpages-posix-dev 2017a-2build1 Β· Other
- ubuntu stonking: manpages-posix-dev 2017a-2.1 Β· Other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms