From b5fe230e7c3383f3af4537d56a9135e37dedb794 Mon Sep 17 00:00:00 2001 From: Maska989 Date: Tue, 18 Jul 2023 11:45:44 +0200 Subject: [PATCH] testdata: Extend description for createCharStr --- libc/testdata.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libc/testdata.h b/libc/testdata.h index 776526829..61b78748a 100644 --- a/libc/testdata.h +++ b/libc/testdata.h @@ -23,7 +23,11 @@ #define ALL_CHARS_STRING_SIZE (CHARS_SET_SIZE + 1) -/* returns string filled with all possible chars, which has to be freed after use */ +/* + * for (size >= ALL_CHARS_STRING_SIZE) returns string filled with all possible chars. + * for (size < ALL_CHARS_STRING_SIZE) returns string with the following content: {1,1,2,...(size-2),0}. + * The returned pointer has to be freed after use! + */ extern char *testdata_createCharStr(int size);