| 361 | |
| 362 | #if 0 |
| 363 | static long |
| 364 | freediskspace(char *path) |
| 365 | { |
| 366 | union REGS regs; |
| 367 | |
| 368 | regs.h.ah = FREESPACE; |
| 369 | if (path[0] && path[1] == ':') |
| 370 | regs.h.dl = (toupper(path[0]) - 'A') + 1; |
| 371 | else |
| 372 | regs.h.dl = 0; |
| 373 | intdos(®s, ®s); |
| 374 | if (regs.x.ax == 0xFFFF) |
| 375 | return -1L; /* bad drive number */ |
| 376 | else |
| 377 | return ((long) regs.x.bx * regs.x.cx * regs.x.ax); |
| 378 | } |
| 379 | #endif /* 0 */ |
| 380 | |
| 381 | #ifndef __GO32__ |
nothing calls this directly
no outgoing calls
no test coverage detected