Skip to main content

Module unistd

Module unistd 

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.