wrote:
>
> is there any system call in unix that will search for a file in the
> filesystem. someting like the find utility.
A newsgroup discussing unix would probably be a better place to ask this
question. iirc, there is no such function call in any of the unixes I
know, but there might be in other flavours.
> if not then how should i search for a file in the file system. heard
> of system call by name opendir and readdir - is the how it should be
> done.
Yes, with unix these functions are probably the way to go. Think
'recursion'. The find utility probably relies on those functions as
well. Note that these functions are defined by Posix, and not part of
standard ANSI C.
> tx.
tx ?
--
:wq
^X^Cy^K^X^C^C^C^C