Mail Archives: djgpp/1998/03/16/14:23:10
On Mon, 16 Mar 1998, Will Fong wrote:
>     In DJGPP (running on a DOS/Win95 platform), is there a way to change
> directories? 
There's a library function called `chdir' which you should use.
> And when in the directory, to determine all the file names in that 
> directory and store just the filenames to an array?
Use the library functions `opendir' and `readdir'.
All of these are documented in the library reference.  To read the docs 
of any function, type "info libc alpha <func-name>" from the DOS prompt, 
where <func-name> is the name of the function.  For example:
	info libc alpha opendir
- Raw text -