home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 8.ddi / usr / include / sys / statfs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  1.3 KB  |  39 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10. #ifndef _SYS_STATFS_H
  11. #define _SYS_STATFS_H
  12.  
  13. #ident    "@(#)/usr/include/sys/statfs.h.sl 1.1 4.0 12/08/90 27797 AT&T-USL"
  14. /*
  15.  * Structure returned by statfs(2) and fstatfs(2).
  16.  * This structure and associated system calls have been replaced
  17.  * by statvfs(2) and fstatvfs(2) and will be removed from the system
  18.  * in a near-future release.
  19.  */
  20.  
  21. struct    statfs {
  22.     short    f_fstyp;    /* File system type */
  23.     long    f_bsize;    /* Block size */
  24.     long    f_frsize;    /* Fragment size (if supported) */
  25.     long    f_blocks;    /* Total number of blocks on file system */
  26.     long    f_bfree;    /* Total number of free blocks */
  27.     ino_t    f_files;    /* Total number of file nodes (inodes) */
  28.     ino_t    f_ffree;    /* Total number of free file nodes */
  29.     char    f_fname[6];    /* Volume name */
  30.     char    f_fpack[6];    /* Pack name */
  31. };
  32.  
  33. #if defined(__STDC__) && !defined(_KERNEL)
  34. int statfs(const char *, struct statfs *, int, int);
  35. int fstatfs(int, struct statfs *, int, int);
  36. #endif
  37.  
  38. #endif    /* _SYS_STATFS_H */
  39.