1 /* $Id: strio.c,v 1.4 2003-06-16 06:57:34 btb Exp $ */
3 * strio.c: string/file manipulation functions by Victor Rachels
14 //added on 9/16/98 by adb to add memory tracking for this module
18 char* fsplitword(CFILE *f, char splitchar)
24 word=(char *) d_malloc(sizeof(char) * mem);
27 while(word[x] != splitchar && !cfeof(f))
35 word=(char *) d_malloc(sizeof(char) * mem);
46 char* splitword(char *s, char splitchar)
52 for(x=0;s[x]!=splitchar&&x<l;x++);
55 word = (char *) d_malloc(sizeof(char) * (l2+1));