#include <io.h> short _get_dev_info(int arg);
Given drive_number (A: = 0, B: = 1, etc.) or a file handle in arg, this function returns the device info word which is returned by DOS IOCTL function 0 (Int 21h/AX=4400h). In case of error, -1 is returned and errno is set.
not ANSI, not POSIX
Go to the first, previous, next, last section, table of contents.