-
Notifications
You must be signed in to change notification settings - Fork 5
Documentation: lib
GandelXIV edited this page May 12, 2021
·
1 revision
-
uint strlen(char\* string)
Get string length. -
void strcpy(char\* destination, char\* source)
Copysourcestring overdestinationstring.
WARNING: If the destination string is shorter than the source string, the function will overwrite data after it! -> Buffer Overflow
-
bool strcmp(char\* string_a, char\* string_b)
Returns true (0x01) if strings are the same; returns false (0x00) if strings are not the same.
-
void stradd(char\* base, char\* extension
Appends theextensionto thebase.
WARNING: Overwrites data located afterbase! -> Buffer Overflow -
void strcls(char\* string)
Clears string by overwriting allcharsinstringwith0x00. -
void strupp(char\* string)
Converts all lower-case characters to upper case.
Example:strupp("f0o 4 b@r") -> "F0O 4 B@R"