aboutsummaryrefslogtreecommitdiff
path: root/utils/string.h
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2024-07-24 12:33:06 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2024-07-24 12:33:06 +0200
commit4466ab96255e3b720a96cf6dd05cdaeef5119691 (patch)
tree354dc0290ae883fa147afda8e6ec4b9700d345ad /utils/string.h
parentd3f087278b3ed9e520c92947292c7e55df09f4d1 (diff)
downloadproperties-4466ab96255e3b720a96cf6dd05cdaeef5119691.tar.gz
properties-4466ab96255e3b720a96cf6dd05cdaeef5119691.zip
Add string utils
Diffstat (limited to 'utils/string.h')
-rw-r--r--utils/string.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/string.h b/utils/string.h
new file mode 100644
index 0000000..a4782cb
--- /dev/null
+++ b/utils/string.h
@@ -0,0 +1,9 @@
+#ifndef __UTILS_STRING_H__
+#define __UTILS_STRING_H__
+#include <string.h>
+
+char *ltrim(char *);
+char *rtrim(char *);
+char *trim(char *);
+
+#endif /* __UTILS_STRING_H__ */