Re: A function for ls?



On 23 Feb 2001 16:24:04 +0100, Germano Rizzo wrote:
> Hi!
>     is there a library function that gives the contents of a directory?
> Something like 'ls'... or a way to do it using other functions? At least,
> may you address me to a program that uses such a function, to learn on it? I
> browsed the source of ls, but it's... too much! ;)
> 

yes, you've got opendir/readdir/closedir

cheers





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]