FIND(3)
π FIND(3) π
okay bestie, this is FIND(3) from the Library Functions Manual β the fastfind algorithm interface, and it's giving βI know where your pathnames liveβ energy β¨
πΈ NAME πΈ
find β fastfind algorithm interface
β¨ SYNOPSIS β¨
#include <find.h>
void* findopen(const char* pattern);
char* findnext(void* handle);
void findclose(void* handle);
π¦ DESCRIPTION π¦
These routines access the data generated by the fastfind algorithm. The data itself is generated by a standalone program that is run daily via cron or at. So like, the library is not out here doing the whole thing itself β it's reading the data, periodt π
findopenβ returns a handle to a fastfind stream for thekshfile patternpatternπ«Άfindnextβ returns the next pathname that matches the pattern specified byhandle. It returns0when no more pathnames match the pattern. no cap,0means we're done here πfindcloseβ closes the fastfind stream forhandle. bye bestie π
π BUGS π
These routines (the page spells it rotuines β a typo icon, honestly π) are only as good as the fastfind information, which is in the system administration domain. So if the fastfind info is a mess, these routines are a mess β iykyk π«
lowkey: the routines are only as good as the info they're reading, and that info lives in the sysadmin domain.
π SEE ALSO π
tw(1), find(1), strmatch(3)
James A. Woods, Fast Find Algorithm, Usenix ;login:, February/March, 1983, p. 8
that's the tea, bestie β FIND(3) in the Library Functions Manual, no date listed, signing off with maximum sparkle πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: ksh-devel 93vu-bp160.1.33 Β· CPL-1.0
- opensuse-leap 16.0: ksh-devel 93vu-bp160.1.33 Β· CPL-1.0
- opensuse-leap 16.0: ksh-devel 93vu-bp160.1.33 Β· CPL-1.0
- opensuse-leap 16.0: ksh-devel 93vu-bp160.1.33 Β· CPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms