Add setsid to std.(c|posix)
The interface and errors for this seem to be very universal and generic. Note Linux already has this defined as a syscall as well.
This commit is contained in:
committed by
Alex Rønne Petersen
parent
c6a18e9534
commit
e8a4e47d38
@@ -10808,6 +10808,7 @@ pub extern "c" fn if_nametoindex([*:0]const u8) c_int;
|
||||
|
||||
pub extern "c" fn getpid() pid_t;
|
||||
pub extern "c" fn getppid() pid_t;
|
||||
pub extern "c" fn setsid() pid_t;
|
||||
|
||||
/// These are implementation defined but share identical values in at least musl and glibc:
|
||||
/// - https://git.musl-libc.org/cgit/musl/tree/include/locale.h?id=ab31e9d6a0fa7c5c408856c89df2dfb12c344039#n18
|
||||
|
||||
Reference in New Issue
Block a user