home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Club Elmshorn Atari PD
/
CCE_PD.iso
/
pc
/
0400
/
CCE_0423.ZIP
/
CCE_0423.PD
/
INCLUD83.ZOO
/
sys
/
statfs.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-07-20
|
816b
|
37 lines
/*
* statfs.h -- structure for statfs() call.
*/
#ifndef _SYS_STATFS_H
#define _SYS_STATFS_H
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
long val[2];
} fsid_t;
struct statfs {
long f_type; /* type of info, zero for now */
long f_bsize; /* fundamental file system block size */
long f_blocks; /* total blocks in file system */
long f_bfree; /* free blocks */
/*
* Remaining fields are here for BSD compatibility, but they aren't really
* used for a standard TOS-ish filesystem
*/
long f_bavail; /* free blocks available to non-super-user */
long f_files; /* total file nodes in file system */
long f_ffree; /* free file nodes in fs */
fsid_t f_fsid; /* file system id */
long f_spare[7]; /* spare for later */
};
#ifdef __cplusplus
}
#endif
#endif /* _SYS_STATFS_H */