From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Johan Erlandsson <jeoerl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] syscall.2: clarify example, add missing parameter
Date: Fri, 09 Aug 2013 09:34:59 +0200 [thread overview]
Message-ID: <52049BA3.4080109@gmail.com> (raw)
In-Reply-To: <CALiXj0BkB-0bSw6gcDnCFDkqO0_7836=a0kCOQF0gAzaG6cUQQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On 08/09/13 01:53, Johan Erlandsson wrote:
> An attempt to clarify example by adding a missing parameter.
Thanks. for the note. I've applied the patch, but it looks like your
mailer mangled it, so I had to do that manually.
Cheers,
Michael
>
> ---
> man2/syscall.2 | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/man2/syscall.2 b/man2/syscall.2
> index 0560634..1cca9ce 100644
> --- a/man2/syscall.2
> +++ b/man2/syscall.2
> @@ -205,6 +205,7 @@ architectures may indiscriminately clobber other
> registers not listed here.
> #include <unistd.h>
> #include <sys/syscall.h>
> #include <sys/types.h>
> +#include <signal.h>
>
> int
> main(int argc, char *argv[])
> @@ -212,7 +213,7 @@ main(int argc, char *argv[])
> pid_t tid;
>
> tid = syscall(SYS_gettid);
> - tid = syscall(SYS_tgkill, getpid(), tid);
> + tid = syscall(SYS_tgkill, getpid(), tid, SIGHUP);
> }
> .fi
> .SH SEE ALSO
>
--
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
prev parent reply other threads:[~2013-08-09 7:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-08 23:53 [PATCH] syscall.2: clarify example, add missing parameter Johan Erlandsson
[not found] ` <CALiXj0BkB-0bSw6gcDnCFDkqO0_7836=a0kCOQF0gAzaG6cUQQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-09 7:34 ` Michael Kerrisk (man-pages) [this message]
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=52049BA3.4080109@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=jeoerl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.