libcore: Add symlink(2) to libc. rs=trivial

This commit is contained in:
Patrick Walton 2012-12-23 17:40:18 -05:00
parent efb8711f90
commit 6b659392ea

View File

@ -1309,6 +1309,8 @@ fn setenv(name: *c_char, val: *c_char,
overwrite: c_int) -> c_int;
fn unsetenv(name: *c_char) -> c_int;
fn putenv(string: *c_char) -> c_int;
fn symlink(path1: *c_char, path2: *c_char) -> c_int;
}
#[nolink]
@ -1365,7 +1367,6 @@ fn sysctlnametomib(name: *c_char, mibp: *mut c_int,
pub mod bsd44 {
}
#[cfg(target_os = "macos")]
#[nolink]
#[abi = "cdecl"]