[comp.sources.wanted] Microsoft C disk inquiry function

chasman@athena.mit.edu (David Chasman) (12/24/90)

Hi,
Does anyone out there have some simple C code I can use to see if
a floppy drive is O.K. - i.e.  - is there a disk in there or not ?

I picture something that I would call as follows:

	int is_there_a_disk(char drive_name)

it would return 1 = Yes, 2 = No, I want to  avoid the 
"Please insert disk for drive A/B " etc. that you usually get
by testing and doing something about the predicament in my program.

--David Chasman