Zth (libzth)
Loading...
Searching...
No Matches

Functions

ssize_t zth::io::read (int fd, void *buf, size_t count)
 Like normal read(), but forwards the poll() to the zth::Waiter in case it would block.
 
ssize_t zth::io::write (int fd, void const *buf, size_t count)
 Like normal write(), but forwards the poll() to the zth::Waiter in case it would block.
 

Detailed Description

Function Documentation

◆ read()

ssize_t zth::io::read ( int  fd,
void *  buf,
size_t  count 
)

Like normal read(), but forwards the poll() to the zth::Waiter in case it would block.

Examples
fsm14.cpp.

Definition at line 24 of file io.cpp.

◆ write()

ssize_t zth::io::write ( int  fd,
void const *  buf,
size_t  count 
)

Like normal write(), but forwards the poll() to the zth::Waiter in case it would block.

Definition at line 52 of file io.cpp.