1 /**strio.c: string/file manipulation functions by Victor Rachels **/
10 //added on 9/16/98 by adb to add memory tracking for this module
14 char* fsplitword(FILE *f, char splitchar)
20 word=(char *) d_malloc(sizeof(char) * mem);
23 while(word[x]!=splitchar && !feof(f))
31 word=(char *) d_malloc(sizeof(char) * mem);
42 char* splitword(char *s, char splitchar)
48 for(x=0;s[x]!=splitchar&&x<l;x++);
51 word = (char *) d_malloc(sizeof(char) * (l2+1));