chdir.rs |
|
3225 |
chroot.rs |
|
464 |
exit.rs |
|
1069 |
id.rs |
Unix user, group, and process identifiers.
# Safety
The `Uid`, `Gid`, and `Pid` types can be constructed from raw integers,
which is marked unsafe because actual OS's assign special meaning to some
integer values. |
5908 |
ioctl.rs |
Process-oriented `ioctl`s.
# Safety
This module invokes `ioctl`s. |
1440 |
kill.rs |
|
3139 |
membarrier.rs |
The Linux `membarrier` syscall. |
3549 |
mod.rs |
Process-associated operations. |
2228 |
pidfd.rs |
|
1300 |
pidfd_getfd.rs |
The [`pidfd_getfd`] function and supporting types. |
2054 |
prctl.rs |
Bindings for the Linux `prctl` system call.
There are similarities (but also differences) with FreeBSD's `procctl`
system call, whose interface is located in the `procctl.rs` file. |
35556 |
priority.rs |
|
4668 |
procctl.rs |
Bindings for the FreeBSD `procctl` system call.
There are similarities (but also differences) with Linux's `prctl` system
call, whose interface is located in the `prctl.rs` file. |
16918 |
rlimit.rs |
|
1652 |
sched.rs |
|
4420 |
sched_yield.rs |
|
426 |
umask.rs |
Umask support. |
527 |
wait.rs |
/bitflags/#externally-defined-flags>
const _ = !0;
}
}
#[cfg(not(any(target_os = "openbsd", target_os = "redox", target_os = "wasi")))]
bitflags! {
/// Options for modifying the behavior of [`waitid`].
#[repr(transparent)]
#[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)]
pub struct WaitidOptions: u32 {
/// Return immediately if no child has exited.
const NOHANG = bitcast!(backend::process::wait::WNOHANG);
/// Return if a stopped child has been resumed by delivery of
/// [`Signal::Cont`].
const CONTINUED = bitcast!(backend::process::wait::WCONTINUED);
/// Wait for processed that have exited.
const EXITED = bitcast!(backend::process::wait::WEXITED);
/// Keep processed in a waitable state.
const NOWAIT = bitcast!(backend::process::wait::WNOWAIT);
/// Wait for processes that have been stopped.
const STOPPED = bitcast!(backend::process::wait::WSTOPPED);
/// <https://docs.rs/bitflags/ |
11923 |