The st_flags is quite important bit of info returned by the stat and used a lot around the code, yet not mentioned in the man page. Fill in the void by xref-ing chflags manpage.
Details
Details
- Reviewers
mckusick vangyzen jilles - Group Reviewers
manpages - Commits
- rS320004: Document st_flags in the stat(2).
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
lib/libc/sys/stat.2 | ||
---|---|---|
141 ↗ | (On Diff #28651) | I think "user-defined" should be removed entirely, since file flags are no more user-defined than permission bits are. |
lib/libc/sys/stat.2 | ||
---|---|---|
141 ↗ | (On Diff #28651) | Good point. Agreed. Maybe the original author meant "user-assigned", but even that seems too verbose. |
lib/libc/sys/stat.2 | ||
---|---|---|
141 ↗ | (On Diff #28651) | I concur with jilles. I would word it as "The file's flags." or perhaps "The flags enabled for the file.'' |