Skip to content

Commit 5f60937

Browse files
committed
stdlib: Add getenv(3) to win32_os.
1 parent ffbbf42 commit 5f60937

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/win32_os.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ native mod libc = "msvcrt.dll" {
1919
fn fseek(FILE f, int offset, int whence) -> int;
2020
fn ftell(FILE f) -> int;
2121

22+
fn getenv(sbuf n) -> sbuf;
23+
2224
fn _pipe(vbuf fds, uint size, int mode) -> int;
2325
}
2426

0 commit comments

Comments
 (0)