home *** CD-ROM | disk | FTP | other *** search
- /* ------------------------------------------------- */
- /* drive.c */
- /* gibt das aktuelle Laufwerk aus */
- /* (c) 1988 by B.Eichinger-Wieschmann & PASCAL Int. */
- /* ------------------------------------------------- */
-
- #include <stdio.h>
- #include <dos.h>
-
- main()
- {
- union REGS r;
-
- r.h.ah = 0x19;
- intdos( &r,&r );
- fprintf(stdout,"%c:\n", r.h.al + 65 );
- }
- /* ------------------------------------------------- */
- /* Ende von drive.c */