Skip to main content
Module unistd
nix
0.29.0
Module unistd
Module Items
Functions
In crate nix
nix
Module
unistd
Copy item path
Source
Expand description
Safe wrappers around functions found in libc “unistd.h” header
Functions
§
close
Close a raw file descriptor
pipe
Create an interprocess channel.
read
Read from a raw file descriptor.
sleep
Suspend execution for an interval of time
ttyname
Get the name of the terminal device that is open on file descriptor fd (see
ttyname(3)
).
write
Write to a raw file descriptor.