home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0010 - 0019 / ibm0010-0019 / ibm0010.tar / ibm0010 / UNIX3862.ZIP / U386-06.ZIP / U386-6.TD0 / usr / include / sys / dirent.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-06-26  |  622 b   |  24 lines

  1. /*    Copyright (c) 1984, 1986, 1987, 1988 AT&T    */
  2. /*      All Rights Reserved      */
  3.  
  4. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T    */
  5. /*    The copyright notice above does not evidence any       */
  6. /*    actual or intended publication of such source code.    */
  7.  
  8.  
  9. #ident    "@(#)head.sys:dirent.h    1.3"
  10.  
  11. /*
  12.  * The following structure defines the file
  13.  * system independent directory entry.
  14.  *
  15.  */
  16.  
  17. struct dirent                /* data from readdir() */
  18.     {
  19.     long        d_ino;        /* inode number of entry */
  20.     off_t        d_off;        /* offset of disk direntory entry */
  21.     unsigned short    d_reclen;    /* length of this record */
  22.     char        d_name[1];    /* name of file */
  23.     };
  24.