Details
Details
- Reviewers
emaste mckusick - Commits
- rG4c58eef12d30: stat.2: enhance the description of st_blocks
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
| lib/libsys/stat.2 | ||
|---|---|---|
| 268 | For [no "e"]? | |
Comment Actions
Does:
. . .
STANDARDS
The stat() and fstat() system calls are expected to conform to IEEE Std 1003.1-1990 (“POSIX.1”). The fstatat() system call follows The Open Group Extended API Set 2 specification.
. . .
need any related wording about extensions or aspects not covered by POSIX for the likes of fstat?
Comment Actions
Why would it need it? Extensions are common and expected, why there would we need to talk specially about them?
Repeating the terms of the standard, we would need to update that with each new revision (and nobody would remember to do that).
Comment Actions
This update looks good. It preserves expected behavior for filesystem-based objects and allows and explains how to interpret block size units for memory-based objects.