find3
Fastfind algorithm interface
Usage
#include <find.h> void* findopen(const char* pattern); char* findnext(void* handle); void findclose(void* handle);
Overview
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.
$1$2findopenfindopenfindopenfindopenfindopenfindopenfindopenfindopen returns a handle to a fastfind stream for the ksh file pattern pattern. $1$2findnextfindnextfindnextfindnextfindnextfindnextfindnextfindnext returns the next pathname that matches the pattern specified by handle. $1$2findnextfindnextfindnextfindnextfindnextfindnextfindnextfindnext returns $1$200000000 when no more pathnames match the pattern. Finally, $1$2findclosefindclosefindclosefindclosefindclosefindclosefindclosefindclose closes the fastfind stream for handle.
Releases
Unchanged in 135 releases since Mac OS X 10.4.