|
NAMEfind - fastfind algorithm interface SYNOPSIS#include <find.h> void* findopen(const char* pattern); char* findnext(void* handle); void findclose(void* handle); DESCRIPTIONThese 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. findopen returns a handle to a fastfind stream for the ksh file pattern pattern. findnext returns the next pathname that matches the pattern specified by handle. findnext returns 0 when no more pathnames match the pattern. Finally, findclose closes the fastfind stream for handle. BUGSThese routines are only as good as the fastfind information which is in the system administration domain. SEE ALSOtw(1), find(1), strmatch(3)
|