pub fn set_tid_address(tidptr: ?*pid_t) pid_t
This call cannot fail, and the return value is the caller's thread id
tidptr: ?*pid_t
1741 1742 1743
pub fn set_tid_address(tidptr: ?*pid_t) pid_t { return @intCast(@as(u32, @truncate(syscall1(.set_tid_address, @intFromPtr(tidptr))))); }
This call cannot fail, and the return value is the caller's thread id