26 #if defined(ZTH_HAVE_POLLER)
27 # if !defined(ZTH_OS_WINDOWS)
28 # if defined(__cplusplus)
32 ZTH_EXPORT ssize_t
read(
int fd,
void* buf,
size_t count);
33 ZTH_EXPORT ssize_t
write(
int fd,
void const* buf,
size_t count);
59 ZTH_EXPORT ssize_t
zth_read(
int fd,
void* buf,
size_t count);
60 ZTH_EXPORT ssize_t
zth_write(
int fd,
void const* buf,
size_t count);
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.
ssize_t 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 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.