]> git.lizzy.rs Git - rust.git/blob - src/lib/win32_os.rs
Populate tree.
[rust.git] / src / lib / win32_os.rs
1 import _str.sbuf;
2 import _vec.vbuf;
3
4 native mod libc = "msvcrt.dll" {
5   fn open(sbuf s, int flags) -> int = "_open";
6   fn read(int fd, vbuf buf, uint count) -> int = "_read";
7   fn write(int fd, vbuf buf, uint count) -> int = "_write";
8   fn close(int fd) -> int = "_close";
9 }