TFIND(3P)

🌸 TFIND(3P) 🌸

okay bestie, so this one is from the POSIX Programmer's Manual β€” yeah, that whole TFIND(3P) situation β€” and it is short, sweet, and honestly kind of a cliffhanger. let's get into it πŸ’…


🫢 PROLOG 🫢

This manual page is part of the POSIX Programmer's Manual. Fr fr. But listen: the Linux implementation of this interface may differ β€” so please, consult the corresponding Linux manual page for details of Linux behavior β€” or, plot twist, the interface may not be implemented on Linux at all. πŸ’€ iconic chaos, we love to see it.


✨ NAME ✨

tfind β€” search binary search tree 🌳


πŸŽ€ SYNOPSIS πŸŽ€

#include <search.h>

void *tfind(const void *key, void *const *rootp,
    int (*compar)(const void *, const void *));

no cap, that's the whole signature 🫢


πŸ’– DESCRIPTION πŸ’–

Refer to tdelete().

That's it. That's the description. she said "go read the other one, i'm not repeating myself" πŸ‘‘


okay legal besties, gather round, this is the part where we're all very serious and mature:

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. 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. 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 .


ngl if you spot a typo, it's giving "conversion of the source files to man page format" energy, not "the standard was wrong" energy. report it at the link above, bestie πŸ›

aaaand that's the whole page πŸ¦‹ shoutout to IEEE/The Open Group, dated 2017, who brought you TFIND(3P) β€” mwah, thanks for coming to my ted talk, periodt πŸ’–βœ¨

πŸ“¦ where this page comes from