mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-15 12:39:52 +03:00
a1777cb5cb
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.