C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_stat Structure
                                             Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
  Include:  <sys\stat.h>
 
  Context:  _stat, _fstat
 
  Structure:
 
  struct _stat
  {
      dev_t st_dev;             // Drive number or device handle
      ino_t st_ino;             // Not used in DOS
      unsigned short st_mode;   // Bit mask for file mode information
      short st_nlink;           // Always 1
      short st_uid;             // Not used in DOS
      short st_gid;             // Not used in DOS
      dev_t st_rdev;            // Same as st_dev
      off_t st_size;            // Size in bytes
      time_t st_atime;          // Time of last access on HPFS files
      time_t st_mtime;          // Time of last modification
      time_t st_ctime;          // Time of creation on HPFS files
  };
 
  Fields st_atime, st_mtime, and st_ctime always have the same value
  (time of last modification) in the DOS File Allocation Table
  (FAT) system.
                                    -♦-