We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As stat(2) states on my system, there is a field st_blocks in struct stat, which represents
stat(2)
st_blocks
struct stat
The actual number of blocks allocated for the file in 512-byte units. As short symbolic links are stored in the inode, this number may be zero.
For sparse files, this size may differ significantly from st_size (fileSize here), which represents apparent/logical/virtual file size.
st_size
fileSize
st_size is needed for implementing a du-like utility.
du
Please bind this field too.
The text was updated successfully, but these errors were encountered:
Sounds reasonable. Would you like to propose a PR?
Sorry, something went wrong.
Sorry, I'm not sure I have enough expertise.
No branches or pull requests
As
stat(2)
states on my system, there is a fieldst_blocks
instruct stat
, which representsFor sparse files, this size may differ significantly from
st_size
(fileSize
here), which represents apparent/logical/virtual file size.st_size
is needed for implementing adu
-like utility.Please bind this field too.
The text was updated successfully, but these errors were encountered: