From 71de17d38ee8db40e5f50d2ce8986e9676767309 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Mon, 21 Mar 2011 16:40:26 -0700 Subject: Add a binding to ftell() --- src/lib/linux_os.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/linux_os.rs') diff --git a/src/lib/linux_os.rs b/src/lib/linux_os.rs index 030dcdbc..bce85956 100644 --- a/src/lib/linux_os.rs +++ b/src/lib/linux_os.rs @@ -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; -- cgit v1.2.3