diff options
| author | Patrick Walton <[email protected]> | 2011-04-28 14:34:50 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-04-28 14:35:22 -0700 |
| commit | 5f609373186aade10e9a9fe5070461d75ab86f41 (patch) | |
| tree | 11d2baf8da6da99694b33b5acc12d131fc3b53fa /src/lib | |
| parent | test: Add a test for vector reference counts, XFAIL'd in rustc (diff) | |
| download | rust-5f609373186aade10e9a9fe5070461d75ab86f41.tar.xz rust-5f609373186aade10e9a9fe5070461d75ab86f41.zip | |
stdlib: Add getenv(3) to win32_os.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/win32_os.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/win32_os.rs b/src/lib/win32_os.rs index b9191a48..a2940d8d 100644 --- a/src/lib/win32_os.rs +++ b/src/lib/win32_os.rs @@ -19,6 +19,8 @@ native mod libc = "msvcrt.dll" { fn fseek(FILE f, int offset, int whence) -> int; fn ftell(FILE f) -> int; + fn getenv(sbuf n) -> sbuf; + fn _pipe(vbuf fds, uint size, int mode) -> int; } |