Thread View: net.micro.pc
1 messages
1 total messages
Started by DucharmeRL
Mon, 22 Sep 1986 16:13
stat() on devices
Author: DucharmeRL
Date: Mon, 22 Sep 1986 16:13
Date: Mon, 22 Sep 1986 16:13
15 lines
1301 bytes
1301 bytes
I am writing a program on a PC6300+ that does a stat() function call [using
Microsoft C compiler version 3.0] on the following - "a:". This always returns
ax=ffff as a failure. However, stat("a:new", &stat_buf) does return a valid
status. Replacing "a:" with a "a:\\" does not help and if you do a "ls -la"
(UNIX command transported to MSDOS), there is no "." or ".." files on the
floppy or in the root directory of "c:". Could this be why the stat fails
to work for the root directories? My basic intent of the stat() is to find
out if the file is a directory or not (I pass the command a "a:"). Further
information is that I am running PC-DOS 3.10 on the PC6300+ with a 20MB hard
disk and a 1.2Mb Floppy.
Thanks in advance:
Robert Ducharme
ihnp4!druri!rld
(303) 538-4066
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads