aboutsummaryrefslogtreecommitdiff
path: root/lib/std/c.zig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/c.zig')
-rw-r--r--lib/std/c.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/std/c.zig b/lib/std/c.zig
index 877b9ae4e3..024c76ddc4 100644
--- a/lib/std/c.zig
+++ b/lib/std/c.zig
@@ -10763,6 +10763,8 @@ pub const pthread_setname_np = switch (native_os) {
};
pub extern "c" fn pthread_getname_np(thread: pthread_t, name: [*:0]u8, len: usize) c_int;
+pub extern "c" fn pthread_kill(pthread_t, signal: c_int) c_int;
+
pub const pthread_threadid_np = switch (native_os) {
.macos, .ios, .tvos, .watchos, .visionos => private.pthread_threadid_np,
else => {},