To allocate a blank string, use the memory for blank string function, mem_stblank():
|
mem_stblank() allocates memory to hold a string of length st_len and the null terminator with a call to mem_get(). The number of bytes allocated is st_len + 1. The string is filled with blanks and a pointer to the string is returned.