authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-08-20 14:42:39-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-08-20 14:42:39-04:00
logc175e53564e206f90dd8bd224b2db2fb7eca7c27
tree28be5beb17e1818a74e79ab77406304f1560bd0d
parentf0a141f79978d6d04b7cac1986b9bda770d3d6f9
signaturelock-open Commit is signed but in an unrecognized format.

add std.c.printf


1 files changed, 1 insertions(+), 0 deletions(-)

std/c.zig+1
...@@ -55,6 +55,7 @@ pub extern "c" fn fclose(stream: *FILE) c_int;...@@ -55,6 +55,7 @@ pub extern "c" fn fclose(stream: *FILE) c_int;
55pub extern "c" fn fwrite(ptr: [*]const u8, size_of_type: usize, item_count: usize, stream: *FILE) usize;55pub extern "c" fn fwrite(ptr: [*]const u8, size_of_type: usize, item_count: usize, stream: *FILE) usize;
56pub extern "c" fn fread(ptr: [*]u8, size_of_type: usize, item_count: usize, stream: *FILE) usize;56pub extern "c" fn fread(ptr: [*]u8, size_of_type: usize, item_count: usize, stream: *FILE) usize;
5757
58pub extern "c" fn printf(format: [*]const u8, ...) c_int;
58pub extern "c" fn abort() noreturn;59pub extern "c" fn abort() noreturn;
59pub extern "c" fn exit(code: c_int) noreturn;60pub extern "c" fn exit(code: c_int) noreturn;
60pub extern "c" fn isatty(fd: fd_t) c_int;61pub extern "c" fn isatty(fd: fd_t) c_int;