diff options
| author | Patrick Walton <[email protected]> | 2011-03-25 13:54:54 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-03-25 14:06:18 -0700 |
| commit | 739c4aedf1efd9df5abcad097a3137ed1025c556 (patch) | |
| tree | 3ab30d410024b6d174d8cf67bfb04ef91a7ab95f /src/lib/linux_os.rs | |
| parent | Revert "Bulk-edit compile commands in emacs chatter to point to assumed build... (diff) | |
| download | rust-739c4aedf1efd9df5abcad097a3137ed1025c556.tar.xz rust-739c4aedf1efd9df5abcad097a3137ed1025c556.zip | |
stdlib: Separate basic I/O reading functionality into a separate buf_reader object, like writing
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 51f2943d..d5230e9a 100644 --- a/src/lib/linux_os.rs +++ b/src/lib/linux_os.rs @@ -17,6 +17,7 @@ native mod libc = "libc.so.6" { fn fclose(FILE f); fn fgetc(FILE f) -> int; fn ungetc(int c, FILE f); + fn feof(FILE f) -> int; 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; |