all filenames in directory in array/list

Henry Spencer henry at utzoo.uucp
Wed Feb 7 04:33:18 AEST 1990


In article <5302 at star.cs.vu.nl> mstuurm at cs.vu.nl (Mark Stuurman) writes:
>Could someone tell me how read all filenames in a directory into
>an array or a list (of filenames of course)...
>P.S. We use SunOS 4.0

First step is to read the directory(3) manual page.  Actually, unless you
have trouble understanding it, that's all you need.
-- 
SVR4:  every feature you ever |     Henry Spencer at U of Toronto Zoology
wanted, and plenty you didn't.| uunet!attcan!utzoo!henry henry at zoo.toronto.edu



More information about the Comp.lang.c mailing list