src/inc/localmem.h 1.7
1.7 2009/11/20 20:26:27 kent
Adding lmCloneStringZ
Index: src/inc/localmem.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/localmem.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -b -B -U 4 -r1.6 -r1.7
--- src/inc/localmem.h 30 Sep 2003 00:22:24 -0000 1.6
+++ src/inc/localmem.h 20 Nov 2009 20:26:27 -0000 1.7
@@ -21,8 +21,11 @@
char *lmCloneString(struct lm *lm, char *string);
/* Return local mem copy of string. */
+char*lmCloneStringZ(struct lm *lm, char *string, int size);
+/* Return local mem copy of string of given size, adding null terminator. */
+
struct slName *lmSlName(struct lm *lm, char *name);
/* Return slName in memory. */
void *lmCloneMem(struct lm *lm, void *pt, size_t size);