◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ─────Run-Time Library─────────────────────────────────────────────────────── The _dos_setfileattr routine uses system call 0x43 to set the attributes of the file or directory pointed to by <pathname>. The actual attributes are contained in the low-order byte of the <attrib> word. Attributes are represented by the following manifest constants: _A_ARCH _A_RDONLY _A_SYSTEM _A_HIDDEN _A_SUBDIR _A_VOLID _A_NORMAL Return Value The function returns 0 if successful. Otherwise, it returns the DOS error code and sets errno to either EACCES or ENOENT. -♦-