home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 202.img / SCO386N2.TD0 / usr / include / sys / ino.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-05-18  |  1.1 KB  |  36 lines

  1. /*
  2.  *    @(#) ino.h 2.1 88/05/18 
  3.  *
  4.  *    Copyright (C) The Santa Cruz Operation, 1984, 1985, 1986, 1987.
  5.  *    Copyright (C) Microsoft Corporation, 1984, 1985, 1986, 1987.
  6.  *    This Module contains Proprietary Information of
  7.  *    The Santa Cruz Operation, Microsoft Corporation
  8.  *    and AT&T, and should be treated as Confidential.
  9.  */
  10.  
  11. /*
  12.  * THIS FILE CONTAINS CODE WHICH IS DESIGNED TO BE
  13.  * PORTABLE BETWEEN DIFFERENT MACHINE ARCHITECTURES
  14.  * AND CONFIGURATIONS. IT SHOULD NOT REQUIRE ANY
  15.  * MODIFICATIONS WHEN ADAPTING XENIX TO NEW HARDWARE.
  16.  */
  17.  
  18.     /* Inode structure as it appears on a disk block. */
  19. struct dinode
  20. {
  21.     ushort di_mode;        /* mode and type of file */
  22.     short    di_nlink;        /* number of links to file */
  23.     ushort    di_uid;          /* owner's user id */
  24.     ushort    di_gid;          /* owner's group id */
  25.     off_t    di_size;         /* number of bytes in file */
  26.     char      di_addr[40];    /* disk block addresses */
  27.     time_t    di_atime;       /* time last accessed */
  28.     time_t    di_mtime;       /* time last modified */
  29.     time_t    di_ctime;       /* time created */
  30. };
  31. /*
  32.  * the 40 address bytes:
  33.  *    39 used; 13 addresses
  34.  *    of 3 bytes each.
  35.  */
  36.