1: /* inode structure of version 6 Unix filesystem		*/
   2: struct  inode
   3: {
   4:     int flags;
   5:     char    nlinks;     /* reference count */
   6:     char    uid;        /*user id*/
   7:     char    gid;
   8:     char    size0;
   9:     int size1;
  10:     unsigned    addr[8];    /*block numbers*/
  11:     int actime[2];
  12:     int modtime[2];
  13: };
  14: 
  15: /* modes */
  16: #define IFMT    0170000     /* type of file */
  17: #define IFALC   0100000     /* allocated */
  18: #define IFDIR   0040000     /* directory */
  19: #define IFCHR   0020000     /* character special */
  20: #define IFBLK   0060000     /* block special */
  21: #define IFREG   0000000     /* regular */
  22: #define IFLRG   0010000     /* large file */
  23: #define ISUID   04000       /* set user id on execution */
  24: #define ISVTX   01000       /* save swapped text even after use */
  25: #define IREAD   0400        /* read, write, execute permissions */
  26: #define IWRITE  0200
  27: #define IEXEC   0100

Defined struct's

inode defined in line 2; used 18 times

Defined macros

IEXEC defined in line 27; never used
IFALC defined in line 17; never used
IFBLK defined in line 20; used 1 times
IFCHR defined in line 19; used 1 times
IFDIR defined in line 18; used 1 times
IFLRG defined in line 22; used 2 times
IFMT defined in line 16; never used
IFREG defined in line 21; never used
IREAD defined in line 25; never used
ISUID defined in line 23; never used
ISVTX defined in line 24; never used
IWRITE defined in line 26; never used

Usage of this include

inode.h used 1 times
Last modified: 1987-08-06
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2237
Valid CSS Valid XHTML 1.0 Strict