Module nix::sys

Documentation

Mostly platform-specific functionality

Modules

aio any(target_os = "dragonfly", target_os = "freebsd", target_os = "ios", target_os = "linux", target_os = "macos", target_os = "netbsd")

POSIX Asynchronous I/O

epoll any(target_os = "android", target_os = "linux")

eventfd any(target_os = "android", target_os = "linux")

inotify any(target_os = "android", target_os = "linux")

Monitoring API for filesystem events.

ioctl any(target_os = "android", target_os = "dragonfly", target_os = "freebsd", target_os = "ios", target_os = "linux", target_os = "redox", target_os = "macos", target_os = "netbsd", target_os = "illumos", target_os = "openbsd")

Provide helpers for making ioctl system calls.

memfd target_os = "linux"

Interfaces for managing memory-backed files.

mman not(target_os = "redox")

Memory management declarations.

personality target_os = "linux"

Low level threading primitives

ptrace any(target_os = "android", target_os = "dragonfly", target_os = "freebsd", target_os = "linux", target_os = "macos", target_os = "netbsd", target_os = "openbsd")

quota target_os = "linux"

Set and configure disk quotas for users, groups, or projects.

reboot any(target_os = "linux")

Reboot/shutdown or enable/disable Ctrl-Alt-Delete.

resource not(any(target_os = "redox", target_os = "fuchsia", target_os = "illumos"))

Configure the process resource limits.

select not(target_os = "redox")

Portably monitor a group of file descriptors for readiness.

sendfile any(target_os = "android", target_os = "freebsd", target_os = "ios", target_os = "linux", target_os = "macos")

Send data from a file to a socket, bypassing userland.

Operating system signals.

signalfd any(target_os = "android", target_os = "linux")

Interface for the signalfd syscall.

socket not(target_os = "redox")

Socket interface functions

statfs any(target_os = "android", target_os = "dragonfly", target_os = "freebsd", target_os = "ios", target_os = "linux", target_os = "macos", target_os = "openbsd")

Get filesystem statistics, non-portably

Get filesystem statistics

sysinfo any(target_os = "android", target_os = "linux")

An interface for controlling asynchronous communication ports

timerfd any(target_os = "android", target_os = "linux")

Timer API via file descriptors.

Vectored I/O

Get system identification

Wait for a process to change status