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