stdlib: Make writers seekable; switch file writers to the C FILE interface to make this work
This commit is contained in:
@@ -18,6 +18,7 @@ native mod libc = "libc.so.6" {
|
||||
fn fgetc(FILE f) -> int;
|
||||
fn ungetc(int c, FILE f);
|
||||
fn fread(vbuf buf, uint size, uint n, FILE f) -> uint;
|
||||
fn fwrite(vbuf buf, uint size, uint n, FILE f) -> uint;
|
||||
fn fseek(FILE f, int offset, int whence) -> int;
|
||||
fn ftell(FILE f) -> int;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user