Skip to content

Commit

Permalink
testdata: extend description for createCharStr
Browse files Browse the repository at this point in the history
JIRA: CI-231
  • Loading branch information
maska989 committed Jul 25, 2023
1 parent 7e78657 commit a06fe00
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libc/testdata.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);


Expand Down

0 comments on commit a06fe00

Please sign in to comment.