diff options
author | Laurent Vivier <lvivier@redhat.com> | 2025-05-16 14:42:28 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2025-05-16 18:27:13 +0200 |
commit | 3262c9b088288902f28b5d09f61220fae5376082 (patch) | |
tree | 2223faa18d635f81465ddf825107320ffebcb2b9 | |
parent | b915375a421d70065baa90444da49954ceacde38 (diff) | |
download | passt-3262c9b088288902f28b5d09f61220fae5376082.tar passt-3262c9b088288902f28b5d09f61220fae5376082.tar.gz passt-3262c9b088288902f28b5d09f61220fae5376082.tar.bz2 passt-3262c9b088288902f28b5d09f61220fae5376082.tar.lz passt-3262c9b088288902f28b5d09f61220fae5376082.tar.xz passt-3262c9b088288902f28b5d09f61220fae5376082.tar.zst passt-3262c9b088288902f28b5d09f61220fae5376082.zip |
Update function comment headers in iov.c to a consistent and
standardized format.
This change ensures:
- Comment blocks for functions consistently start with /**.
- Function names in the comment summary line include parentheses ().
This improves overall comment clarity and uniformity within the file.
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r-- | iov.c | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -26,7 +26,8 @@ #include "iov.h" -/* iov_skip_bytes() - Skip leading bytes of an IO vector +/** + * iov_skip_bytes() - Skip leading bytes of an IO vector * @iov: IO vector * @n: Number of entries in @iov * @skip: Number of leading bytes of @iov to skip @@ -56,8 +57,8 @@ size_t iov_skip_bytes(const struct iovec *iov, size_t n, } /** - * iov_from_buf - Copy data from a buffer to an I/O vector (struct iovec) - * efficiently. + * iov_from_buf() - Copy data from a buffer to an I/O vector (struct iovec) + * efficiently. * * @iov: Pointer to the array of struct iovec describing the * scatter/gather I/O vector. @@ -96,8 +97,8 @@ size_t iov_from_buf(const struct iovec *iov, size_t iov_cnt, } /** - * iov_to_buf - Copy data from a scatter/gather I/O vector (struct iovec) to - * a buffer efficiently. + * iov_to_buf() - Copy data from a scatter/gather I/O vector (struct iovec) to + * a buffer efficiently. * * @iov: Pointer to the array of struct iovec describing the scatter/gather * I/O vector. @@ -136,8 +137,8 @@ size_t iov_to_buf(const struct iovec *iov, size_t iov_cnt, } /** - * iov_size - Calculate the total size of a scatter/gather I/O vector - * (struct iovec). + * iov_size() - Calculate the total size of a scatter/gather I/O vector + * (struct iovec). * * @iov: Pointer to the array of struct iovec describing the * scatter/gather I/O vector. |