Back to index

glibc  2.9
Classes | Defines | Enumerations
statvfs.h File Reference
#include <bits/types.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  statvfs

Defines

#define ST_RDONLY   ST_RDONLY
#define ST_NOSUID   ST_NOSUID

Enumerations

enum  { ST_RDONLY = 1, ST_RDONLY = 1, ST_NOSUID }

Class Documentation

struct statvfs

Definition at line 34 of file statvfs.h.

Collaboration diagram for statvfs:
Class Members
int __f_spare
unsigned int __f_type
__fsblkcnt_t f_bavail
__fsblkcnt_t f_bfree
__fsblkcnt_t f_blocks
unsigned int f_bsize
unsigned long int f_bsize
__fsfilcnt_t f_favail
__fsfilcnt_t f_ffree
__fsfilcnt_t f_files
unsigned long int f_flag
unsigned int f_flag
unsigned long int f_frsize
unsigned int f_frsize
unsigned long int f_fsid
__fsid_t f_fsid
unsigned int f_namemax
unsigned long int f_namemax
unsigned int f_spare

Define Documentation

#define ST_NOSUID   ST_NOSUID
#define ST_RDONLY   ST_RDONLY

Definition at line 83 of file statvfs.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
ST_RDONLY 
ST_RDONLY 
ST_NOSUID 

Definition at line 80 of file statvfs.h.

{
  ST_RDONLY = 1,            /* Mount read-only.  */
#define ST_RDONLY    ST_RDONLY
  ST_NOSUID = 2                    /* Ignore suid and sgid bits.  */
#define ST_NOSUID    ST_NOSUID
#ifdef __USE_GNU
  ,
  ST_NODEV = 4,                    /* Disallow access to device special files.  */
# define ST_NODEV    ST_NODEV
  ST_NOEXEC = 8,            /* Disallow program execution.  */
# define ST_NOEXEC   ST_NOEXEC
  ST_SYNCHRONOUS = 16,             /* Writes are synced at once.  */
# define ST_SYNCHRONOUS     ST_SYNCHRONOUS
  ST_MANDLOCK = 64,         /* Allow mandatory locks on an FS.  */
# define ST_MANDLOCK ST_MANDLOCK
  ST_WRITE = 128,           /* Write on file/directory/symlink.  */
# define ST_WRITE    ST_WRITE
  ST_APPEND = 256,          /* Append-only file.  */
# define ST_APPEND   ST_APPEND
  ST_IMMUTABLE = 512,              /* Immutable file.  */
# define ST_IMMUTABLE       ST_IMMUTABLE
  ST_NOATIME = 1024,        /* Do not update access times.  */
# define ST_NOATIME  ST_NOATIME
  ST_NODIRATIME = 2048,            /* Do not update directory access times.  */
# define ST_NODIRATIME      ST_NODIRATIME
  ST_RELATIME = 4096        /* Update atime relative to mtime/ctime.  */
# define ST_RELATIME ST_RELATIME
#endif /* Use GNU.  */
};