diff options
Diffstat (limited to 'packages/libc/src/bstatfsh.inc')
-rw-r--r-- | packages/libc/src/bstatfsh.inc | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/packages/libc/src/bstatfsh.inc b/packages/libc/src/bstatfsh.inc new file mode 100644 index 0000000000..fde6ef302c --- /dev/null +++ b/packages/libc/src/bstatfsh.inc @@ -0,0 +1,41 @@ + +type + Pstatfs = ^_statfs; + _statfs = record + f_type : longint; + f_bsize : longint; + f_blocks : __fsblkcnt_t; + f_bfree : __fsblkcnt_t; + f_bavail : __fsblkcnt_t; + f_files : __fsfilcnt_t; + f_ffree : __fsfilcnt_t; + f_fsid : __fsid_t; + f_namelen : longint; + f_spare : array[0..5] of longint; + end; + P_statfs = ^_statfs; + + Pstatfs64 = ^_statfs64; + _statfs64 = record + f_type : longint; + f_bsize : longint; + f_blocks : __fsblkcnt64_t; + f_bfree : __fsblkcnt64_t; + f_bavail : __fsblkcnt64_t; + f_files : __fsfilcnt64_t; + f_ffree : __fsfilcnt64_t; + f_fsid : __fsid_t; + f_namelen : longint; + f_spare : array[0..5] of longint; + end; + P_statfs64 = ^_statfs64; + +{ --------------------------------------------------------------------- + Borland compatibility types + ---------------------------------------------------------------------} + +Type + TStatFs = _statfs; + TStatFs64 = _statfs64; + + |