From 351aae58f2c73749a12e2b19cbb447614a2ee3ff Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 27 Sep 2022 08:49:04 +0000 Subject: Doc fixes: remove _t from skalibs types Signed-off-by: Laurent Bercot --- doc/libstddjb/allreadwrite.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/libstddjb/allreadwrite.html') diff --git a/doc/libstddjb/allreadwrite.html b/doc/libstddjb/allreadwrite.html index 8003431..9ad14de 100644 --- a/doc/libstddjb/allreadwrite.html +++ b/doc/libstddjb/allreadwrite.html @@ -44,7 +44,7 @@ use higher-level APIs such as buffer and

Function types

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

- typedef ssize_t iovfunc_t (int fd, struct iovec const *v, unsigned int vlen)
+ 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() and @@ -64,7 +64,7 @@ elements instead of a single string.

- typedef size_t alliofunc_t (int fd, char *buf, size_t len)
+ typedef size_t allio_func (int fd, char *buf, size_t len)
This is the type of an IO operation that expects all of its len bytes to be sent or received, and that will loop around a lower-level IO function until either len bytes have been @@ -100,7 +100,7 @@ Returns the inverse of sanitize_read.

- size_t allreadwrite (iofunc_t *f, int fd, char *s, size_t len)
+ size_t allreadwrite (io_func *f, int fd, char *s, size_t len)
*f must be a basic reading or writing function such as fd_read or fd_write. allreadwrite() performs *f on fd, s and len until len @@ -112,7 +112,7 @@ set errno to EWOULDBLOCK or EAGAIN.

- size_t allreadwritev (iovfunc_t *f, int fd, struct iovec const *v, unsigned int vlen)
+ size_t allreadwritev (iov_func *f, int fd, struct iovec const *v, unsigned int vlen)
Like allreadwrite but the content to perform IO on is specified as a scatter/gather array of vlen @@ -171,7 +171,7 @@ an error occurs.

size_t allwrite (int fd, char const *s, size_t len)
-Equivalent to allreadwrite((iofunc_t *)&fd_write, fd, s, len) : +Equivalent to allreadwrite((io_func *)&fd_write, fd, s, len) : attempts to write len bytes from s to fd, looping around fd_write() if necessary, until either len bytes are written or an error occurs. -- cgit v1.2.3