diff options
Diffstat (limited to 'src/libstddjb/stralloc_append.c')
-rw-r--r-- | src/libstddjb/stralloc_append.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libstddjb/stralloc_append.c b/src/libstddjb/stralloc_append.c new file mode 100644 index 0000000..a51db36 --- /dev/null +++ b/src/libstddjb/stralloc_append.c @@ -0,0 +1,8 @@ +/* ISC license. */ + +#include <skalibs/stralloc.h> + +int stralloc_append (stralloc *sa, char c) +{ + return stralloc_catb(sa, &c, 1) ; +} |