We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53bdffc commit 47283afCopy full SHA for 47283af
src/unix/linux_like/mod.rs
@@ -1458,6 +1458,10 @@ extern "C" {
1458
pub fn acct(filename: *const ::c_char) -> ::c_int;
1459
pub fn brk(addr: *mut ::c_void) -> ::c_int;
1460
pub fn sbrk(increment: ::intptr_t) -> *mut ::c_void;
1461
+ #[deprecated(
1462
+ since = "0.2.65",
1463
+ note = "generates incorrect code due to the lack of #[returns_twice]"
1464
+ )]
1465
pub fn vfork() -> ::pid_t;
1466
pub fn setresgid(rgid: ::gid_t, egid: ::gid_t, sgid: ::gid_t) -> ::c_int;
1467
pub fn setresuid(ruid: ::uid_t, euid: ::uid_t, suid: ::uid_t) -> ::c_int;
0 commit comments