splice03: Convert docs to docparse
PATCH 1/1 splice03: Convert docs to docparse
Signed-off-by Ma Xinjian <[email protected]>
--- testcases/kernel/syscalls/splice/splice03.c | 30 +++++++++------------ 1 file changed, 13 insertions(+), 17 deletions(-)
testcases/kernel/syscalls/splice/splice03.c +13 -17
@@ -3,23 +3,19 @@* Copyright (c) 2014 Fujitsu Ltd. * Author: Xing Gu <[email protected]> */ -/* -* Description: -* Verify that, -* 1) splice() returns -1 and sets errno to EBADF if the file -* descriptor fd_in is not valid. -* 2) splice() returns -1 and sets errno to EBADF if the file -* descriptor fd_out is not valid. -* 3) splice() returns -1 and sets errno to EBADF if the file -* descriptor fd_in does not have proper read-write mode. -* 4) splice() returns -1 and sets errno to EINVAL if target -* file is opened in append mode. -* 5) splice() returns -1 and sets errno to EINVAL if neither -* of the descriptors refer to a pipe. -* 6) splice() returns -1 and sets errno to ESPIPE if off_in is -* not NULL when the file descriptor fd_in refers to a pipe. -* 7) splice() returns -1 and sets errno to ESPIPE if off_out is -* not NULL when the file descriptor fd_out refers to a pipe. + +/*\ +* [Description] +* +* Verify that, splice(2) returns -1 and sets errno to +* +* 1. EBADF if the file descriptor fd_in is not valid. +* 2. EBADF if the file descriptor fd_out is not valid. +* 3. EBADF if the file descriptor fd_in does not have proper read-write mode. +* 4. EINVAL if target file is opened in append mode. +* 5. EINVAL if neither of the descriptors refer to a pipe. +* 6. ESPIPE if off_in is not NULL when the file descriptor fd_in refers to a pipe. +* 7. ESPIPE if off_out is not NULL when the file descriptor fd_out refers to a pipe. */ #define _GNU_SOURCE
Signature · 5 lines
2.42.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Ma Xinjian, Wei,
thanks, merged!
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp