aboutsummaryrefslogtreecommitdiffstats
path: root/include/string.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/string.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h
index c988b2e..68a0134 100644
--- a/include/string.h
+++ b/include/string.h
@@ -1091,6 +1091,19 @@ char* __gnu_basename(const char*)
#endif
+#if defined(_GNU_SOURCE) && !defined(__PORTABLE)
+/**
+ * Shuffles all bytes in a string.
+ *
+ * This is a GNU joke extension.
+ *
+ * @param anagram An anagram of the output, will be modified.
+ * @retrun The string, which will `== anagram`.
+ */
+char* strfry(char* anagram);
+#endif
+
+
#endif