From 477e1ba2977435ae7bb75c7dbd95cf28247f89bd Mon Sep 17 00:00:00 2001 From: nirav Date: Thu, 28 Mar 2019 09:10:52 +0530 Subject: Move APIs into libgs dir --- libgs/src/string-util.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 libgs/src/string-util.h (limited to 'libgs/src/string-util.h') diff --git a/libgs/src/string-util.h b/libgs/src/string-util.h new file mode 100644 index 0000000..6acee6d --- /dev/null +++ b/libgs/src/string-util.h @@ -0,0 +1,10 @@ +#ifndef __GS_STRING_UTIL_H +#define __GS_STRING_UTIL_H + +#include + +size_t strlcpy(char *dst, const char *src, size_t siz); +size_t strlcat(char *dst, const char *src, size_t siz); +char *str_replace(const char *str, const char *old, const char *new); + +#endif -- cgit v1.2.3