mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Add statfs() and fstatfs() to redbean unix module
This commit is contained in:
parent
2d479f7b11
commit
30e1c5bca9
3 changed files with 434 additions and 3 deletions
|
@ -8,7 +8,7 @@ struct statfs { /* cosmo abi */
|
|||
int64_t f_bsize; /* optimal transfer block size */
|
||||
int64_t f_blocks; /* total data blocks in filesystem */
|
||||
int64_t f_bfree; /* free blocks in filesystem */
|
||||
int64_t f_bavail; /* free blocks available to */
|
||||
int64_t f_bavail; /* free blocks available to unprivileged users */
|
||||
int64_t f_files; /* total file nodes in filesystem */
|
||||
int64_t f_ffree; /* free file nodes in filesystem */
|
||||
int64_t f_fsid; /* filesystem id */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue