Unix Standard

https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/unistd.h.html

Functions

ssize_t write(int fildes, const void *buf, size_t nbyte)

Not supported.

ssize_t read(int fildes, void *buf, size_t nbyte)

Not supported.

int close(int fildes)

Not supported.

unsigned sleep(unsigned seconds)

Block the calling thread for at least seconds whole seconds.

Implemented as nanosleep with tv_sec set to seconds and tv_nsec set to 0.

Parameters:
  • seconds – Number of seconds to sleep.

Returns:

0.