• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * Copyright (c) 2018 Google, Inc.
4  */
5 
6 #ifndef TGKILL_H
7 #define TGKILL_H
8 
9 #include "config.h"
10 #include "lapi/syscalls.h"
11 
sys_tgkill(int tgid,int tid,int sig)12 static inline int sys_tgkill(int tgid, int tid, int sig)
13 {
14 	return tst_syscall(__NR_tgkill, tgid, tid, sig);
15 }
16 
sys_gettid(void)17 static inline pid_t sys_gettid(void)
18 {
19 	return tst_syscall(__NR_gettid);
20 }
21 
22 #endif /* TGKILL_H */
23