Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: all filenames in directory in array/list Message-ID: <1990Feb6.173318.16587@utzoo.uucp> Organization: U of Toronto Zoology References: <5302@star.cs.vu.nl> Date: Tue, 6 Feb 90 17:33:18 GMT In article <5302@star.cs.vu.nl> mstuurm@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@zoo.toronto.edu