libstd: add fs::change_dir()

This commit is contained in:
Elly Jones
2011-12-01 22:19:10 -05:00
parent 1974cf9a81
commit 9b3f8bf2a9
4 changed files with 18 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ native mod libc {
fn readlink(path: str::sbuf, buf: str::sbuf, bufsize: size_t) -> ssize_t;
fn mkdir(path: str::sbuf, mode: c_int) -> c_int;
fn rmdir(path: str::sbuf) -> c_int;
fn chdir(path: str::sbuf) -> c_int;
}
mod libc_constants {