* [PATCH 1/2] clone.2, epoll_wait.2, recv.2, send.2, syscalls.2, unlink.2, sched.7, unix.7, vdso.7: tfix
@ 2024-02-12 9:09 Štěpán Němec
2024-02-12 9:09 ` [PATCH 2/2] getaddrinfo.3: tfix Štěpán Němec
0 siblings, 1 reply; 3+ messages in thread
From: Štěpán Němec @ 2024-02-12 9:09 UTC (permalink / raw)
To: Alejandro Colomar; +Cc: linux-man
Signed-off-by: Štěpán Němec <stepnem@smrk.net>
---
man2/clone.2 | 2 +-
man2/epoll_wait.2 | 2 +-
man2/recv.2 | 2 +-
man2/send.2 | 2 +-
man2/syscalls.2 | 2 +-
man2/unlink.2 | 2 +-
man7/sched.7 | 2 +-
man7/unix.7 | 4 ++--
man7/vdso.7 | 2 +-
9 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/man2/clone.2 b/man2/clone.2
index 8e5eae806014..e88c54eeb6a3 100644
--- a/man2/clone.2
+++ b/man2/clone.2
@@ -1745,7 +1745,7 @@ .SS Linux 2.4 and earlier
and
.IR child_tid .
.SH NOTES
-One use of these systems calls
+One use of these system calls
is to implement threads: multiple flows of control in a program that
run concurrently in a shared address space.
.P
diff --git a/man2/epoll_wait.2 b/man2/epoll_wait.2
index 3407785ec72b..2a0ad6364ff4 100644
--- a/man2/epoll_wait.2
+++ b/man2/epoll_wait.2
@@ -77,7 +77,7 @@ .SH DESCRIPTION
.BR epoll_wait ()
to block indefinitely, while specifying a
.I timeout
-equal to zero cause
+equal to zero causes
.BR epoll_wait ()
to return immediately, even if no events are available.
.P
diff --git a/man2/recv.2 b/man2/recv.2
index 7959bff2583d..294eca384dae 100644
--- a/man2/recv.2
+++ b/man2/recv.2
@@ -123,7 +123,7 @@ .SS The flags argument
is a setting on the open file description (see
.BR open (2)),
which will affect all threads in the calling process
-and as well as other processes that hold file descriptors
+as well as other processes that hold file descriptors
referring to the same open file description.
.TP
.BR MSG_ERRQUEUE " (since Linux 2.2)"
diff --git a/man2/send.2 b/man2/send.2
index 88588148e483..f3de06e4c629 100644
--- a/man2/send.2
+++ b/man2/send.2
@@ -184,7 +184,7 @@ .SS The flags argument
is a setting on the open file description (see
.BR open (2)),
which will affect all threads in the calling process
-and as well as other processes that hold file descriptors
+as well as other processes that hold file descriptors
referring to the same open file description.
.TP
.BR MSG_EOR " (since Linux 2.2)"
diff --git a/man2/syscalls.2 b/man2/syscalls.2
index c75855393464..6c231350634d 100644
--- a/man2/syscalls.2
+++ b/man2/syscalls.2
@@ -985,7 +985,7 @@ .SH NOTES
the glibc wrapper functions do some work to ensure that the right
system call is invoked, and that ABI compatibility is
preserved for old binaries.)
-Examples of systems calls that exist in multiple versions are
+Examples of system calls that exist in multiple versions are
the following:
.IP \[bu] 3
By now there are three different versions of
diff --git a/man2/unlink.2 b/man2/unlink.2
index c43071f12029..ed729109d8e3 100644
--- a/man2/unlink.2
+++ b/man2/unlink.2
@@ -117,7 +117,7 @@ .SS unlinkat()
.IR pathname .
If the
.B AT_REMOVEDIR
-flag is specified, then
+flag is specified, it
performs the equivalent of
.BR rmdir (2)
on
diff --git a/man7/sched.7 b/man7/sched.7
index 5640325a9185..71f098e48188 100644
--- a/man7/sched.7
+++ b/man7/sched.7
@@ -158,7 +158,7 @@ .SS SCHED_FIFO: First in-first out scheduling
thread identified by
.I pid
the effect on the thread's position in the list depends on
-the direction of the change to threads priority:
+the direction of the change to the thread's priority:
.RS
.IP (a) 5
If the thread's priority is raised,
diff --git a/man7/unix.7 b/man7/unix.7
index 71cdfc7586a5..cb1dcae45a66 100644
--- a/man7/unix.7
+++ b/man7/unix.7
@@ -72,7 +72,7 @@ .SS Address format
.I sun_path
is 108 bytes in size; see also BUGS, below.
.P
-Various systems calls (for example,
+Various system calls (for example,
.BR bind (2),
.BR connect (2),
and
@@ -833,7 +833,7 @@ .SH NOTES
.\"
.SH BUGS
When binding a socket to an address,
-Linux is one of the implementations that appends a null terminator
+Linux is one of the implementations that append a null terminator
if none is supplied in
.IR sun_path .
In most cases this is unproblematic:
diff --git a/man7/vdso.7 b/man7/vdso.7
index f440172d1532..de5f300cd219 100644
--- a/man7/vdso.7
+++ b/man7/vdso.7
@@ -173,7 +173,7 @@ .SS vDSO names
.ft P
\}
.SS strace(1), seccomp(2), and the vDSO
-When tracing systems calls with
+When tracing system calls with
.BR strace (1),
symbols (system calls) that are exported by the vDSO will
.I not
base-commit: a1e22a8c359660394afdc9f838c87eb0d38e7903
--
2.43.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] getaddrinfo.3: tfix
2024-02-12 9:09 [PATCH 1/2] clone.2, epoll_wait.2, recv.2, send.2, syscalls.2, unlink.2, sched.7, unix.7, vdso.7: tfix Štěpán Němec
@ 2024-02-12 9:09 ` Štěpán Němec
2024-02-18 0:57 ` Alejandro Colomar
0 siblings, 1 reply; 3+ messages in thread
From: Štěpán Němec @ 2024-02-12 9:09 UTC (permalink / raw)
To: Alejandro Colomar; +Cc: linux-man
(Incidentally, the glibc function source does name the parameter
"name" rather than "node", unlike this man page. (The POSIX man
page uses "nodename".))
Signed-off-by: Štěpán Němec <stepnem@smrk.net>
---
man3/getaddrinfo.3 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man3/getaddrinfo.3 b/man3/getaddrinfo.3
index 1d4f2d3d3a49..beb6434606f9 100644
--- a/man3/getaddrinfo.3
+++ b/man3/getaddrinfo.3
@@ -501,7 +501,7 @@ .SH RETURN VALUE
included
.B AI_CANONNAME
and
-.I name
+.I node
was NULL.
.TP
.B EAI_FAIL
--
2.43.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 2/2] getaddrinfo.3: tfix
2024-02-12 9:09 ` [PATCH 2/2] getaddrinfo.3: tfix Štěpán Němec
@ 2024-02-18 0:57 ` Alejandro Colomar
0 siblings, 0 replies; 3+ messages in thread
From: Alejandro Colomar @ 2024-02-18 0:57 UTC (permalink / raw)
To: Štěpán Němec; +Cc: linux-man
[-- Attachment #1: Type: text/plain, Size: 885 bytes --]
On Mon, Feb 12, 2024 at 10:09:03AM +0100, Štěpán Němec wrote:
> (Incidentally, the glibc function source does name the parameter
> "name" rather than "node", unlike this man page. (The POSIX man
> page uses "nodename".))
>
> Signed-off-by: Štěpán Němec <stepnem@smrk.net>
Hi Štěpán,
I've applied both patches. Thanks.
Have a lovely night!
Alex
> ---
> man3/getaddrinfo.3 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/man3/getaddrinfo.3 b/man3/getaddrinfo.3
> index 1d4f2d3d3a49..beb6434606f9 100644
> --- a/man3/getaddrinfo.3
> +++ b/man3/getaddrinfo.3
> @@ -501,7 +501,7 @@ .SH RETURN VALUE
> included
> .B AI_CANONNAME
> and
> -.I name
> +.I node
> was NULL.
> .TP
> .B EAI_FAIL
> --
> 2.43.1
>
--
<https://www.alejandro-colomar.es/>
Looking for a remote C programming job at the moment.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-02-18 0:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-12 9:09 [PATCH 1/2] clone.2, epoll_wait.2, recv.2, send.2, syscalls.2, unlink.2, sched.7, unix.7, vdso.7: tfix Štěpán Němec
2024-02-12 9:09 ` [PATCH 2/2] getaddrinfo.3: tfix Štěpán Němec
2024-02-18 0:57 ` Alejandro Colomar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox