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

  1. /*
  2.  *    @(#) statfs.h 1.1 88/05/18 
  3.  *
  4.  *    Copyright (C) The Santa Cruz Operation, 1984, 1985, 1986, 1987, 1988.
  5.  *    Copyright (C) Microsoft Corporation, 1984, 1985, 1986, 1987, 1988.
  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.  
  19. /*
  20.  * Structure returned by the statfs() system call.
  21.  */
  22.  
  23. struct    statfs {
  24.     short    f_fstyp;    /* File system type */
  25.     long    f_bsize;    /* Block size */
  26.     long    f_frsize;    /* Fragment size (if supported) */
  27.     long    f_blocks;    /* Total number of blocks on file system */
  28.     long    f_bfree;    /* Total number of free blocks */
  29.     long    f_files;    /* Total number of file nodes (inodes) */
  30.     long    f_ffree;    /* Total number of free file nodes */
  31.     char    f_fname[6];    /* Volume name */
  32.     char    f_fpack[6];    /* Pack name */
  33. };
  34.