Commit 1078810cef

Isaac Freund <ifreund@ifreund.xyz>
2020-09-11 16:32:24
std: add prctl definition when linking libc
1 parent b6f4601
Changed files (1)
lib
std
lib/std/c.zig
@@ -340,3 +340,5 @@ pub extern "c" fn sync() void;
 pub extern "c" fn syncfs(fd: c_int) c_int;
 pub extern "c" fn fsync(fd: c_int) c_int;
 pub extern "c" fn fdatasync(fd: c_int) c_int;
+
+pub extern "c" fn prctl(option: c_int, ...) c_int;