linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 10/10] Fix prototype for syscall(2)
Date: Thu, 08 May 2014 11:44:35 +0200	[thread overview]
Message-ID: <536B5203.6000608@gmail.com> (raw)
In-Reply-To: <1398886962-10633-11-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>

On 04/30/2014 09:42 PM, Rasmus Villemoes wrote:
> The first argument and the return value of syscall() has type long,
> not int.

Applied!

Thanks,

Michael


> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  man2/syscall.2 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man2/syscall.2 b/man2/syscall.2
> index 01a4739..f30e77a 100644
> --- a/man2/syscall.2
> +++ b/man2/syscall.2
> @@ -46,7 +46,7 @@ syscall \- indirect system call
>  .B #include <unistd.h>
>  .BR "#include <sys/syscall.h>   "  "/* For SYS_xxx definitions */"
>  
> -.BI "int syscall(int " number ", ...);"
> +.BI "long syscall(long " number ", ...);"
>  .fi
>  .SH DESCRIPTION
>  .BR syscall ()
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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

  parent reply	other threads:[~2014-05-08  9:44 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-30 19:42 [PATCH 00/10] Fix various inconsistencies Rasmus Villemoes
     [not found] ` <1398886962-10633-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-04-30 19:42   ` [PATCH 01/10] Fix return type of readlinkat() Rasmus Villemoes
     [not found]     ` <1398886962-10633-2-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08  9:43       ` Michael Kerrisk (man-pages)
2014-04-30 19:42   ` [PATCH 02/10] Fix prototype for stime() Rasmus Villemoes
     [not found]     ` <1398886962-10633-3-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08  9:43       ` Michael Kerrisk (man-pages)
2014-04-30 19:42   ` [PATCH 03/10] Fix prototypes for semop() and semtimedop() Rasmus Villemoes
     [not found]     ` <1398886962-10633-4-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08  9:44       ` Michael Kerrisk (man-pages)
2014-04-30 19:42   ` [PATCH 04/10] Fix prototypes for [sg]etpriority() Rasmus Villemoes
     [not found]     ` <1398886962-10633-5-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08  9:44       ` Michael Kerrisk (man-pages)
2014-04-30 19:42   ` [PATCH 05/10] Fix prototype for sched_setaffinity() Rasmus Villemoes
     [not found]     ` <1398886962-10633-6-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08  9:44       ` Michael Kerrisk (man-pages)
2014-04-30 19:42   ` [PATCH 06/10] Add <sys/types.h> to synopsis of get_robust_list() Rasmus Villemoes
     [not found]     ` <1398886962-10633-7-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08  9:44       ` Michael Kerrisk (man-pages)
2014-04-30 19:42   ` [PATCH 07/10] Fix prototype for mbind(2) Rasmus Villemoes
     [not found]     ` <1398886962-10633-8-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08  9:44       ` Michael Kerrisk (man-pages)
2014-04-30 19:42   ` [PATCH 08/10] Add <signal.h> to synopsis for ppoll() Rasmus Villemoes
     [not found]     ` <1398886962-10633-9-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08  9:44       ` Michael Kerrisk (man-pages)
2014-04-30 19:42   ` [PATCH 09/10] Fix prototype for set_mempolicy(2) Rasmus Villemoes
     [not found]     ` <1398886962-10633-10-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08  9:44       ` Michael Kerrisk (man-pages)
2014-04-30 19:42   ` [PATCH 10/10] Fix prototype for syscall(2) Rasmus Villemoes
     [not found]     ` <1398886962-10633-11-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08  9:44       ` Michael Kerrisk (man-pages) [this message]
2014-05-08  9:43   ` [PATCH 00/10] Fix various inconsistencies Michael Kerrisk (man-pages)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=536B5203.6000608@gmail.com \
    --to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).