Skip to content

spush

Category: string
GitHub: cute_string.h


Pushes character ch onto the end of the string.

#define spush(s, ch) cf_string_push(s, ch)
Parameters Description
s The string. Can be NULL.
ch A character to push onto the end of the string.

Remarks

Does not overwite the nul-byte. If the string is empty a nul-byte is pushed afterwards. Can be NULL, will create a new string and assign s if so.

sdyna
sset
spop
sfit
sfree