std: add fs::mkdir(), rng.gen_str(), tempfile::mkdtemp()

Signed-off-by: Elly Jones <elly@leptoquark.net>
This commit is contained in:
Elly Jones
2011-11-08 23:35:15 -05:00
committed by Brian Anderson
parent a936f78d98
commit c11c44abc0
7 changed files with 78 additions and 5 deletions

View File

@@ -51,6 +51,7 @@ native mod libc {
fn pipe(buf: *mutable fd_t) -> c_int;
fn waitpid(pid: pid_t, &status: c_int, options: c_int) -> pid_t;
fn readlink(path: str::sbuf, buf: str::sbuf, bufsize: size_t) -> ssize_t;
fn mkdir(path: str::sbuf, mode: int) -> int;
}
mod libc_constants {