24#if defined(ZTH_HAVE_POLLER)
25# if !defined(ZTH_OS_WINDOWS)
26# if defined(__cplusplus)
30ZTH_EXPORT ssize_t
read(
int fd,
void* buf,
size_t count);
31ZTH_EXPORT ssize_t
write(
int fd,
void const* buf,
size_t count);
57ZTH_EXPORT ssize_t
zth_read(
int fd,
void* buf,
size_t count);
58ZTH_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.