Commit c175e53564

Andrew Kelley <andrew@ziglang.org>
2019-08-20 20:42:39
add std.c.printf
1 parent f0a141f
Changed files (1)
std
std/c.zig
@@ -55,6 +55,7 @@ pub extern "c" fn fclose(stream: *FILE) c_int;
 pub extern "c" fn fwrite(ptr: [*]const u8, size_of_type: usize, item_count: usize, stream: *FILE) usize;
 pub extern "c" fn fread(ptr: [*]u8, size_of_type: usize, item_count: usize, stream: *FILE) usize;
 
+pub extern "c" fn printf(format: [*]const u8, ...) c_int;
 pub extern "c" fn abort() noreturn;
 pub extern "c" fn exit(code: c_int) noreturn;
 pub extern "c" fn isatty(fd: fd_t) c_int;