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 Skipped - Unit
Tests Skipped - Build Status
Buildable 9429
Event Timeline
lib/libc/sys/stat.2 | ||
---|---|---|
141 | 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 | Good point. Agreed. Maybe the original author meant "user-assigned", but even that seems too verbose. |
lib/libc/sys/stat.2 | ||
---|---|---|
141 | I concur with jilles. I would word it as "The file's flags." or perhaps "The flags enabled for the file.'' |