Re: [PATCH] syscall.2: clarify example, add missing parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux