Add a binding to ftell()

This commit is contained in:
Patrick Walton
2011-03-21 16:40:26 -07:00
parent ea1321fcdd
commit 71de17d38e
4 changed files with 7 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ native mod libc = "libc.so.6" {
fn ungetc(int c, FILE f);
fn fread(vbuf buf, uint size, uint n, FILE f) -> uint;
fn fseek(FILE f, int offset, int whence) -> int;
fn ftell(FILE f) -> int;
type dir;
fn opendir(sbuf d) -> dir;