mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-12 09:17:44 +03:00
missing: define gettid()
This commit is contained in:
parent
3bfc71846c
commit
4d14be09d6
@ -176,4 +176,8 @@ struct btrfs_ioctl_vol_args {
|
||||
#define MS_PRIVATE (1 << 18)
|
||||
#endif
|
||||
|
||||
static inline pid_t gettid(void) {
|
||||
return (pid_t) syscall(SYS_gettid);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user