1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-09-17 20:26:18 +00:00

nohup: fix for OpenBSD with _vprocmgr_detach_from_console function

This commit is contained in:
Laurent Cheylus 2023-12-03 09:44:19 +01:00
parent 94537d3b34
commit 38ea40d0bf

View file

@ -200,7 +200,12 @@ extern "C" {
fn _vprocmgr_detach_from_console(flags: u32) -> *const libc::c_int;
}
#[cfg(any(target_os = "linux", target_os = "android", target_os = "freebsd"))]
#[cfg(any(
target_os = "linux",
target_os = "android",
target_os = "freebsd",
target_os = "openbsd"
))]
unsafe fn _vprocmgr_detach_from_console(_: u32) -> *const libc::c_int {
std::ptr::null()
}