src/inc/localmem.h 1.8

1.8 2009/12/01 23:10:44 kent
Adding lmCloneFirstWord
Index: src/inc/localmem.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/localmem.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -b -B -U 4 -r1.7 -r1.8
--- src/inc/localmem.h	20 Nov 2009 20:26:27 -0000	1.7
+++ src/inc/localmem.h	1 Dec 2009 23:10:44 -0000	1.8
@@ -24,8 +24,11 @@
 
 char*lmCloneStringZ(struct lm *lm, char *string, int size);
 /* Return local mem copy of string of given size, adding null terminator. */
 
+char *lmCloneFirstWord(struct lm *lm, char *line);
+/* Clone first word in line */
+
 struct slName *lmSlName(struct lm *lm, char *name);
 /* Return slName in memory. */
 
 void *lmCloneMem(struct lm *lm, void *pt, size_t size);