◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── The _dos_getfileattr routine uses system call 0x43 to obtain the current attributes of the file or directory pointed to by <pathname>. The attributes are copied to the low-order byte of the <attrib> word. Attributes are represented by the following manifest constants: _A_ARCH _A_NORMAL _A_SYSTEM _A_HIDDEN _A_RDONLY Return Value If successful, the function returns 0. Otherwise, it returns the DOS error code and sets errno to ENOENT, indicating that the target file or directory could not be found. -♦-