Skip to content

Commit

Permalink
Deprecate vfork
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed Oct 29, 2019
1 parent 53bdffc commit 47283af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/unix/linux_like/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1458,6 +1458,10 @@ extern "C" {
pub fn acct(filename: *const ::c_char) -> ::c_int;
pub fn brk(addr: *mut ::c_void) -> ::c_int;
pub fn sbrk(increment: ::intptr_t) -> *mut ::c_void;
#[deprecated(
since = "0.2.65",
note = "generates incorrect code due to the lack of #[returns_twice]"
)]
pub fn vfork() -> ::pid_t;
pub fn setresgid(rgid: ::gid_t, egid: ::gid_t, sgid: ::gid_t) -> ::c_int;
pub fn setresuid(ruid: ::uid_t, euid: ::uid_t, suid: ::uid_t) -> ::c_int;
Expand Down

0 comments on commit 47283af

Please sign in to comment.