Define XTABS to TAB3 on alpha to match Linux 4.16.
[glibc.git] / sysdeps / htl / pt-kill.c
blob7f7a39eb570d52ec17cd4d67c35341c1f8e31508
1 /* pthread-kill.c - Generic pthread-kill implementation.
2 Copyright (C) 2008-2018 Free Software Foundation, Inc.
3 Written by Neal H. Walfield <neal@gnu.org>.
5 This file is part of the GNU Hurd.
7 The GNU Hurd is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public License
9 as published by the Free Software Foundation; either version 3 of
10 the License, or (at your option) any later version.
12 The GNU Hurd is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
17 You should have received a copy of the GNU Lesser General Public
18 License along with this program. If not, see
19 <http://www.gnu.org/licenses/>. */
21 #include <pthreadP.h>
22 #include "sig-internal.h"
24 int
25 __pthread_kill (pthread_t tid, int signo)
27 siginfo_t si;
28 memset (&si, 0, sizeof (si));
29 si.si_signo = signo;
31 return pthread_kill_siginfo_np (tid, si);
33 strong_alias (__pthread_kill, pthread_kill)