Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!caen!zaphod.mps.ohio-state.edu!wuarchive!udel!rochester!kodak!uupsi!sunic!dkuug!iesd!iesd.auc.dk!fischer From: fischer@iesd.auc.dk (Lars P. Fischer) Newsgroups: comp.lang.c Subject: Re: Directories in C Message-ID: Date: 12 Feb 91 19:56:52 GMT References: <27B73B0C.3549@ibma0.cs.uiuc.edu> Sender: news@iesd.auc.dk Organization: Mathematics and Computer Science, University of Aalborg Lines: 21 In-reply-to: cs348cw@ibma0.cs.uiuc.edu's message of 12 Feb 91 00:47:08 GMT >>>>> On 12 Feb 91, cs348cw@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@iesd.auc.dk | Beauty is a French phonetic corruption CS Dept., Univ. of Aalborg, DENMARK. | - FZ