Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!sunybcs!boulder!hao!oddjob!gargoyle!ihnp4!inuxc!iuvax!iucs!bobmon From: bobmon@iucs.UUCP (RAMontante [condition that I not be identified]) Newsgroups: comp.sys.ibm.pc,comp.lang.c Subject: Re: Determining the names of devices installed in DOS Message-ID: <4717@iucs.UUCP> Date: Fri, 16-Oct-87 01:15:28 EDT Article-I.D.: iucs.4717 Posted: Fri Oct 16 01:15:28 1987 Date-Received: Sat, 17-Oct-87 18:11:43 EDT References: <1801@killer.UUCP> Reply-To: bobmon@iucs.UUCP (RAMontante [condition that I not be identified]) Organization: Indiana University, Bloomington Lines: 3 Xref: mnetor comp.sys.ibm.pc:9125 comp.lang.c:4947 TurboC's doc. for stat and fstat indicate that they return (among other things) a bitmask which includes and S_IFREG flag for ordinary files; fstat also returns S_IFCHR to (redundantly?) indicate a device.