1 /*
2   string_utilities.h
3   --------------
4   Written By: Eu-Jin Goh
5 
6   A bunch of string functions that I keep using all the time.
7 
8  */
9 
10 #ifndef STRING_UTILITIES_H
11 #define STRING_UTILITIES_H
12 
13 /* ----------- String functions ---------------------- */
14 
15 /* wrapper around strcpy that allocates memory for the dest string */
16 char *utlstring_strcpy(const char *srcString);
17 
18 /* wrapper around strcat that allocates memory for the concatenated string */
19 char *utlstring_strcat(const char *prefixString, const char *suffixString);
20 
21 /* assumes that srand has already been called */
22 char *utlstring_GenRandomString(const int size);
23 
24 #endif
25