Skip to contentSkip to conversation

preadv201: Convert docs to docparse

PATCH New Ma Xinjian via ltp 1 participant 1 message Nov 15, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 preadv201: Convert docs to docparse

---
 testcases/kernel/syscalls/preadv2/preadv201.c | 20 ++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)
testcases/kernel/syscalls/preadv2/preadv201.c +11 -9
index 50f5a2e01..8e5d1b9c7 100644
@@ -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
Signature · 5 lines
2.47.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp