diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/string.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/string.h b/include/string.h index 68a0134..c43b41d 100644 --- a/include/string.h +++ b/include/string.h @@ -1100,7 +1100,19 @@ char* __gnu_basename(const char*) * @param anagram An anagram of the output, will be modified. * @retrun The string, which will `== anagram`. */ -char* strfry(char* anagram); +char* strfry(char*); + +/** + * Performs an inplace bitwise XOR:ing of + * a memory segment. The pattern is 00101010. + * + * This is a GNU extension. + * + * @param segment The memory segment. + * @param size The size of the memory segment. + * @return `segment` is returned + */ +char* memfrob(char*, size_t); #endif |