linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] recvmmsg.2/sendmmsg.2: fix signatures
@ 2017-11-02  0:09 enh
       [not found] ` <CAJgzZorunHq-6ztgLS4Ya3wWKbXxzE87wCykgBN3ofCcmVKi0g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: enh @ 2017-11-02  0:09 UTC (permalink / raw)
  To: Michael Kerrisk (man-pages); +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 984 bytes --]

---
 man2/recvmmsg.2 | 2 +-
 man2/sendmmsg.2 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/man2/recvmmsg.2 b/man2/recvmmsg.2
index 3ff1b63a3..e7dfe848a 100644
--- a/man2/recvmmsg.2
+++ b/man2/recvmmsg.2
@@ -38,7 +38,7 @@ recvmmsg \- receive multiple messages on a socket
 .PP
 .BI "int recvmmsg(int " sockfd ", struct mmsghdr *" msgvec \
 ", unsigned int " vlen ","
-.BI "             unsigned int " flags ", struct timespec *" timeout ");"
+.BI "             int " flags ", struct timespec *" timeout ");"
 .fi
 .SH DESCRIPTION
 The
diff --git a/man2/sendmmsg.2 b/man2/sendmmsg.2
index e61ed0b4e..a4895c1ac 100644
--- a/man2/sendmmsg.2
+++ b/man2/sendmmsg.2
@@ -35,7 +35,7 @@ sendmmsg \- send multiple messages on a socket
 .PP
 .BI "int sendmmsg(int " sockfd ", struct mmsghdr *" msgvec \
 ", unsigned int " vlen ","
-.BI "             unsigned int " flags ");"
+.BI "             int " flags ");"
 .fi
 .SH DESCRIPTION
 The
-- 
2.15.0.403.gc27cc4dac6-goog

[-- Attachment #2: 0001-Fix-recvmmsg-2-sendmmsg-2-signatures.patch --]
[-- Type: text/x-patch, Size: 1189 bytes --]

From 2745832cf6444edea4b156bd38b531713efcfa9f Mon Sep 17 00:00:00 2001
From: Elliott Hughes <enh@google.com>
Date: Wed, 1 Nov 2017 17:04:01 -0700
Subject: [PATCH] Fix recvmmsg(2)/sendmmsg(2) signatures.

---
 man2/recvmmsg.2 | 2 +-
 man2/sendmmsg.2 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/man2/recvmmsg.2 b/man2/recvmmsg.2
index 3ff1b63a3..e7dfe848a 100644
--- a/man2/recvmmsg.2
+++ b/man2/recvmmsg.2
@@ -38,7 +38,7 @@ recvmmsg \- receive multiple messages on a socket
 .PP
 .BI "int recvmmsg(int " sockfd ", struct mmsghdr *" msgvec \
 ", unsigned int " vlen ","
-.BI "             unsigned int " flags ", struct timespec *" timeout ");"
+.BI "             int " flags ", struct timespec *" timeout ");"
 .fi
 .SH DESCRIPTION
 The
diff --git a/man2/sendmmsg.2 b/man2/sendmmsg.2
index e61ed0b4e..a4895c1ac 100644
--- a/man2/sendmmsg.2
+++ b/man2/sendmmsg.2
@@ -35,7 +35,7 @@ sendmmsg \- send multiple messages on a socket
 .PP
 .BI "int sendmmsg(int " sockfd ", struct mmsghdr *" msgvec \
 ", unsigned int " vlen ","
-.BI "             unsigned int " flags ");"
+.BI "             int " flags ");"
 .fi
 .SH DESCRIPTION
 The
-- 
2.15.0.403.gc27cc4dac6-goog


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [patch] recvmmsg.2/sendmmsg.2: fix signatures
       [not found] ` <CAJgzZorunHq-6ztgLS4Ya3wWKbXxzE87wCykgBN3ofCcmVKi0g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2017-11-02  6:50   ` Michael Kerrisk (man-opages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-opages) @ 2017-11-02  6:50 UTC (permalink / raw)
  To: enh; +Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

On 11/02/2017 01:09 AM, enh wrote:
> ---
>   man2/recvmmsg.2 | 2 +-
>   man2/sendmmsg.2 | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)

Thanks, Elliot. Applied.

Cheers,

Michael


> diff --git a/man2/recvmmsg.2 b/man2/recvmmsg.2
> index 3ff1b63a3..e7dfe848a 100644
> --- a/man2/recvmmsg.2
> +++ b/man2/recvmmsg.2
> @@ -38,7 +38,7 @@ recvmmsg \- receive multiple messages on a socket
>   .PP
>   .BI "int recvmmsg(int " sockfd ", struct mmsghdr *" msgvec \
>   ", unsigned int " vlen ","
> -.BI "             unsigned int " flags ", struct timespec *" timeout ");"
> +.BI "             int " flags ", struct timespec *" timeout ");"
>   .fi
>   .SH DESCRIPTION
>   The
> diff --git a/man2/sendmmsg.2 b/man2/sendmmsg.2
> index e61ed0b4e..a4895c1ac 100644
> --- a/man2/sendmmsg.2
> +++ b/man2/sendmmsg.2
> @@ -35,7 +35,7 @@ sendmmsg \- send multiple messages on a socket
>   .PP
>   .BI "int sendmmsg(int " sockfd ", struct mmsghdr *" msgvec \
>   ", unsigned int " vlen ","
> -.BI "             unsigned int " flags ");"
> +.BI "             int " flags ");"
>   .fi
>   .SH DESCRIPTION
>   The
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-02  6:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-02  0:09 [patch] recvmmsg.2/sendmmsg.2: fix signatures enh
     [not found] ` <CAJgzZorunHq-6ztgLS4Ya3wWKbXxzE87wCykgBN3ofCcmVKi0g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-02  6:50   ` Michael Kerrisk (man-opages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).