libcore: Add symlink(2) to libc. rs=trivial
This commit is contained in:
parent
efb8711f90
commit
6b659392ea
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user