Commit 888af655e0

Joran Dirk Greef <joran@ronomon.com>
2020-11-01 10:46:08
Add libc signature
1 parent 8fd88fd
Changed files (1)
lib
std
lib/std/c/linux.zig
@@ -87,6 +87,8 @@ pub extern "c" fn sigaltstack(ss: ?*stack_t, old_ss: ?*stack_t) c_int;
 
 pub extern "c" fn memfd_create(name: [*:0]const u8, flags: c_uint) c_int;
 
+pub extern "c" fn fallocate(fd: fd_t, mode: c_int, offset: off_t, len: off_t) c_int;
+
 pub extern "c" fn ftruncate64(fd: c_int, length: off_t) c_int;
 
 pub extern "c" fn sendfile(