Skip to content

Commit

Permalink
vmsplice02: Convert docs to docparse
Browse files Browse the repository at this point in the history
Link: https://lore.kernel.org/ltp/[email protected]/
Reviewed-by: Petr Vorel <[email protected]>
Signed-off-by: Ma Xinjian <[email protected]>
  • Loading branch information
MaXinjian authored and pevik committed Dec 17, 2024
1 parent ec81cf2 commit 1d8f6b5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions testcases/kernel/syscalls/vmsplice/vmsplice02.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
* Copyright (c) 2014 Fujitsu Ltd.
* Author: Xing Gu <[email protected]>
*/
/*
* Description:
* Verify that,
* 1) vmsplice() returns -1 and sets errno to EBADF if fd
* is not valid.
* 2) vmsplice() returns -1 and sets errno to EBADF if fd
* doesn't refer to a pipe.
* 3) vmsplice() returns -1 and sets errno to EINVAL if
* nr_segs is greater than IOV_MAX.

/*\
* [Description]
*
* Verify that, vmsplice(2) returns -1 and sets errno to:
*
* - EBADF if fd is not valid.
* - EBADF if fd doesn't refer to a pipe.
* - EINVAL if nr_segs is greater than IOV_MAX.
*/

#define _GNU_SOURCE
Expand Down

0 comments on commit 1d8f6b5

Please sign in to comment.