C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
File-Attribute Constants
                                             Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
  Constant:  _A_ARCH, _A_HIDDEN, _A_NORMAL, _A_RDONLY, _A_SUBDIR,
             _A_SYSTEM, _A_VOLID
 
  Include:   <dos.h>
 
  Context:   _dos_findfirst, _dos_findnext, _dos_getfileattr,
             _dos_setfileattr
 
  Summary:   The current attributes of the file or directory
             specified by the function.
 
     The attributes are represented by the following manifest
     constants:
 
     Constant      Meaning
 
     _A_ARCH       Archive. Set whenever the file is changed.
                   Cleared by the DOS BACKUP command.
 
     _A_HIDDEN     Hidden file. Cannot be found with the DOS DIR
                   command. Returns information about normal files as
                   well as files with this attribute.
 
     _A_NORMAL     Normal. File can be read or written to without
                   restriction.
 
     _A_RDONLY     Read-only. File cannot be opened for writing, and
                   a file with the same name cannot be created. Returns
                   information about normal files as well as files with
                   this attribute.
 
     _A_SUBDIR     Subdirectory. Returns information about normal files
                   as well as files with this attribute.
 
     _A_SYSTEM     System file. Cannot be found with the DOS DIR
                   command. Returns information about normal files as
                   well as files with this attribute.
 
     _A_VOLID      Volume ID. Only one file can have this attribute,
                   and it must be in the root directory.
 
     Multiple constants can be combined with the OR operator (|).
                                    -♦-