Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!amdcad!amd!rocksvax!martyl From: martyl@rocksvax.UUCP (Marty Leisner) Newsgroups: comp.sys.ibm.pc Subject: stat and fstat on Dos 3.x Message-ID: <367@rocksvax.UUCP> Date: Mon, 7-Dec-87 08:06:35 EST Article-I.D.: rocksvax.367 Posted: Mon Dec 7 08:06:35 1987 Date-Received: Sun, 13-Dec-87 09:37:02 EST Organization: Xerox: Henrietta, NY Lines: 23 I'm looking for reasonable clean source code which implements stat and fstat. I'm looking for a stat which also include the cluster number of the file and the device number to act as the inode number. I know how to get the cluster number if I start reading directories starting from root -- this just seems awfully brute force. Any magic dos calls I don't know about. I'm also looking for any way to do an fstat. In addition, does anyone have a set of posix compatible directory scanning routines running on MS-DOS? I may throw some together if I figure out how to do the above things. Is this of any use to anyone? marty leisner xerox corp. leisner.henr@xerox.com (please don't respond to Rocksvax as it is going away soon). -- marty leisner xerox corp leisner.henr@xerox.com martyl@rocksvax.uucp