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

Functions

ssize_t zth_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_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

◆ zth_read()

ssize_t zth_read ( int  fd,
void *  buf,
size_t  count 
)

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

This is a C-wrapper for zth::io::read().

Definition at line 41 of file io.h.

◆ zth_write()

ssize_t zth_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.

This is a C-wrapper for zth::io::write().

Definition at line 51 of file io.h.