mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
read.2: Use .Fn markup instead of .Xr for read/write calls
Udpate both write / read references from .Xr to .Fn to eliminate self-reference cross reference. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1128
This commit is contained in:
parent
2956f5885c
commit
0d161f7b60
|
@ -129,15 +129,15 @@ before the end-of-file, but in no other case.
|
|||
In accordance with
|
||||
.St -p1003.1-2004 ,
|
||||
both
|
||||
.Xr read 2
|
||||
.Fn read
|
||||
and
|
||||
.Xr write 2
|
||||
.Fn write
|
||||
syscalls are atomic with respect to each other in the effects on file
|
||||
content, when they operate on regular files.
|
||||
If two threads each call one of the
|
||||
.Xr read 2
|
||||
.Fn read
|
||||
or
|
||||
.Xr write 2 ,
|
||||
.Fn write ,
|
||||
syscalls, each call will see either all of the changes of the other call,
|
||||
or none of them.
|
||||
The
|
||||
|
|
Loading…
Reference in a new issue