X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=stringmem.h;h=1a3f695116d8f31d5f5044a0ca914f2647340535;hb=bced32cd120e3f3e12a11a4a2fa680a83d6e9b29;hp=c25218f1996dff9e5642ed8c012402af92ff4c6d;hpb=186796e391585f79f86d4aebc274dcaa78f58769;p=rrq%2Ffuse_xattrs.git diff --git a/stringmem.h b/stringmem.h index c25218f..1a3f695 100644 --- a/stringmem.h +++ b/stringmem.h @@ -1,6 +1,9 @@ -// Concatenate strigns onto the heap if possible, or malloc new. +// Concatenate strings onto the heap if possible, or malloc new. extern char *strjoin(const char *first,...); +// Allocate buffer space from the heap +extern char *stralloc(int size); + // Dispose memory possibly within the string heap extern void strfree(char *p);