From e92e5cbc9c42a7f926eb4b25fdf6e52ec9d2fa4c Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 28 Apr 2025 08:44:56 +0000 Subject: Update docs to latest posix version Signed-off-by: Laurent Bercot --- doc/libstddjb/allreadwrite.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'doc/libstddjb/allreadwrite.html') diff --git a/doc/libstddjb/allreadwrite.html b/doc/libstddjb/allreadwrite.html index 9ad14de..3f580e9 100644 --- a/doc/libstddjb/allreadwrite.html +++ b/doc/libstddjb/allreadwrite.html @@ -46,17 +46,17 @@ use higher-level APIs such as buffer and

typedef ssize_t io_func (int fd, char *buf, size_t len)
This is the simplified type of IO functions such as -read() +read() and -write(). +write().

typedef ssize_t iov_func (int fd, struct iovec const *v, unsigned int vlen)
This is the simplified type of IO functions such as -readv() +readv() and -writev(), +writev(), where the content to perform IO on is specified as a scatter/gather array of vlen elements instead of a single string. @@ -122,42 +122,42 @@ elements instead of a single string.

ssize_t fd_read (int fd, char *s, size_t len)
Safe wrapper around the -read() +read() function.

ssize_t fd_write (int fd, char const *s, size_t len)
Safe wrapper around the -write() +write() function.

ssize_t fd_readv (int fd, struct iovec const *v, unsigned int vlen)
Safe wrapper around the -readv() +readv() function.

ssize_t fd_writev (int fd, struct iovec const *v, unsigned int vlen)
Safe wrapper around the -writev() +writev() function.

ssize_t fd_recv (int fd, char *s, size_t len, unsigned int flags)
Safe wrapper around the -recv() +recv() function.

ssize_t fd_send (int fd, char const *s, size_t len, unsigned int flags)
Safe wrapper around the -send() +send() function.

-- cgit v1.3.1