Take part of the text from POSIX 2018 edition and describe the atomicity requirements for read and write syscalls. See p1003.1-2018, Vol.2, 2.9.7 Threads interaction with Regular File Operations.
Details
Details
- Reviewers
asomers rmacklem emaste - Group Reviewers
manpages - Commits
- rS349794: Document atomicity for read(2) and write(2).
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
lib/libc/sys/read.2 | ||
---|---|---|
144 ↗ | (On Diff #59474) | From what I remember, we do not use 'shall' in man pages, because we describe the implementation and not a requirement for the implementation. |
lib/libc/sys/read.2 | ||
---|---|---|
144 ↗ | (On Diff #59474) | Fair enough, but the sentence as you wrote it is not grammatically correct. "see" needs to be conjugated for tense. Using "shall" or "will" would fix that. |