zig/lib/std/c
Isaac Freund a1777cb5cb
std: fix pthread_{get,set}name_np return type ABI
I believe this was accidentally broken when the E enum for errno values
was introduces. These functions are quite the special case in that they
return the error value directly rather than returning -1 and passing the
error value through the errno variable.

In any case, using a u16 as the return type at the ABI boundary where a
c_int is expected is asking for trouble.
2024-06-17 23:26:53 +02:00
..
darwin darwin: update mcontext_t definition for aarch64 to add neon state 2023-07-20 22:58:14 -04:00
darwin.zig std: fix pthread_{get,set}name_np return type ABI 2024-06-17 23:26:53 +02:00
dragonfly.zig std: fix pthread_{get,set}name_np return type ABI 2024-06-17 23:26:53 +02:00
emscripten.zig std: make all dirent structs extern 2024-06-17 23:26:53 +02:00
freebsd.zig cbe: rewrite CType 2024-03-30 20:50:48 -04:00
haiku.zig haiku: fix directory iteration 2024-04-08 13:20:14 -04:00
linux.zig std: fix pthread_{get,set}name_np return type ABI 2024-06-17 23:26:53 +02:00
netbsd.zig std: fix pthread_{get,set}name_np return type ABI 2024-06-17 23:26:53 +02:00
openbsd.zig cbe: rewrite CType 2024-03-30 20:50:48 -04:00
solaris.zig std: fix pthread_{get,set}name_np return type ABI 2024-06-17 23:26:53 +02:00
wasi.zig std.fs.Dir.openFile: use wasi libc API when -lc 2024-04-18 17:49:05 -07:00
windows.zig some API work on std.c, std.os, std.os.wasi 2024-02-11 13:38:55 -07:00