add std.c.printf

This commit is contained in:
Andrew Kelley 2019-08-20 14:42:39 -04:00
parent f0a141f799
commit c175e53564
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -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;