diff --git a/std/c.zig b/std/c.zig index 7ba606c18ba30beeb87925398f6af500c5172edc..e7b98107ab72bca8f82c9bd8311a69bc7a8c107e 100644 --- a/std/c.zig +++ b/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;