diff options
| author | Patrick Walton <[email protected]> | 2011-03-21 16:40:26 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-03-21 16:41:18 -0700 |
| commit | 71de17d38ee8db40e5f50d2ce8986e9676767309 (patch) | |
| tree | 14f9488a26199c0d17c5ec275068da1f638e86cd /src/lib/linux_os.rs | |
| parent | Minor distcheck fixes (diff) | |
| download | rust-71de17d38ee8db40e5f50d2ce8986e9676767309.tar.xz rust-71de17d38ee8db40e5f50d2ce8986e9676767309.zip | |
Add a binding to ftell()
Diffstat (limited to 'src/lib/linux_os.rs')
| -rw-r--r-- | src/lib/linux_os.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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; |