Directories in C

Lars P. Fischer fischer at iesd.auc.dk
Wed Feb 13 06:56:52 AEST 1991


>>>>> On 12 Feb 91, cs348cw at ibma0.cs.uiuc.edu (nesha nicole jones) said:

Nesha> I was wondering if any one knew if you could read in a variable
Nesha> in C and check to see if it is a directory. ...

It would help if you said what type of system you are using, type of
OS, etc. Is this under DOS, VMS, UNIX? If UNIX, is it BSD, SysV, ...?

On a Unix system, try

	man stat
	man 2 mkdir
	man opendir

Some of these might or might not be present. You might also like to
check out a good textbook.

/Lars
--
Lars Fischer,  fischer at iesd.auc.dk   | Beauty is a French phonetic corruption
CS Dept., Univ. of Aalborg, DENMARK. |                   - FZ



More information about the Comp.lang.c mailing list