1: struct  stat
   2: {
   3:     dev_t   st_dev;
   4:     ino_t   st_ino;
   5:     u_short st_mode;
   6:     short   st_nlink;
   7:     short   st_uid;
   8:     short   st_gid;
   9:     dev_t   st_rdev;
  10:     off_t   st_size;
  11:     time_t  st_atime;
  12:     time_t  st_mtime;
  13:     time_t  st_ctime;
  14: };
  15: 
  16: #define S_IFMT  0170000         /* type of file */
  17: #define     S_IFCHR     0020000 /* character special */
  18: #define     S_IFMPC     0030000 /* multiplexed char special */
  19: #define     S_IFDIR     0040000 /* directory */
  20: #define     S_IFBLK     0060000 /* block special */
  21: #define     S_IFMPB     0070000 /* multiplexed block special */
  22: #define     S_IFREG     0100000 /* regular */
  23: #define     S_IFLNK     0120000 /* symbolic link */
  24: #define     S_IFQUOT    0140000 /* quota */
  25: 
  26: #define S_ISUID     0004000     /* set user id on execution */
  27: #define S_ISGID     0002000     /* set group id on execution */
  28: #define S_ISVTX     0001000     /* save swapped text even after use */
  29: #define S_IREAD     0000400     /* read permission, owner */
  30: #define S_IWRITE    0000200     /* write permission, owner */
  31: #define S_IEXEC     0000100     /* execute/search permission, owner */

Defined struct's

stat defined in line 1; used 480 times

Defined macros

S_IFDIR defined in line 19; used 54 times
S_IFMPB defined in line 21; never used
S_IFMPC defined in line 18; never used
S_IFMT defined in line 16; used 100 times
S_IFQUOT defined in line 24; used 5 times

Usage of this include

stat.h used 152 times
Last modified: 1983-05-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1104
Valid CSS Valid XHTML 1.0 Strict