Skip to content

Commit

Permalink
preadv201: 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 16, 2024
1 parent 2b7132e commit 8b43e20
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions testcases/kernel/syscalls/preadv2/preadv201.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@
* Author: Xiao Yang <[email protected]>
*/

/*
* Description:
* Testcase to check the basic functionality of the preadv2(2).
* 1) If the file offset argument is not -1, preadv2() should succeed
* in reading the expected content of data and the file offset is
* not changed after reading.
* 2) If the file offset argument is -1, preadv2() should succeed in
* reading the expected content of data and the current file offset
* is used and changed after reading.
/*\
* [Description]
*
* Verify the basic functionality of the preadv2(2):
*
* 1. If the file offset argument is not -1, preadv2() should succeed
* in reading the expected content of data and the file offset is not
* changed after reading.
* 2. If the file offset argument is -1, preadv2() should succeed in
* reading the expected content of data and the current file offset
* is used and changed after reading.
*/

#define _GNU_SOURCE
Expand Down

0 comments on commit 8b43e20

Please sign in to comment.