Go to the first, previous, next, last section, table of contents.


_get_dev_info

Syntax

#include <io.h>

short _get_dev_info(int arg);

Description

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.

Portability

not ANSI, not POSIX


Go to the first, previous, next, last section, table of contents.