git: 0d161f7b60db - main - read.2: Use .Fn markup instead of .Xr for read/write calls
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Mar 2024 03:38:03 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=0d161f7b60dbc0b0d0bdb8e0d289e196c22e831b commit 0d161f7b60dbc0b0d0bdb8e0d289e196c22e831b Author: Christopher Davidson <christopher.davidson@gmail.com> AuthorDate: 2024-03-02 03:32:37 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2024-03-02 03:34:10 +0000 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 --- lib/libsys/read.2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libsys/read.2 b/lib/libsys/read.2 index 94644045afc1..123851128291 100644 --- a/lib/libsys/read.2 +++ b/lib/libsys/read.2 @@ -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