1 /* $Id: strio.c,v 1.3 2003-02-18 20:35:35 btb Exp $ */
3 * strio.c: string/file manipulation functions by Victor Rachels
13 //added on 9/16/98 by adb to add memory tracking for this module
17 char* fsplitword(FILE *f, char splitchar)
23 word=(char *) d_malloc(sizeof(char) * mem);
26 while(word[x]!=splitchar && !feof(f))
34 word=(char *) d_malloc(sizeof(char) * mem);
45 char* splitword(char *s, char splitchar)
51 for(x=0;s[x]!=splitchar&&x<l;x++);
54 word = (char *) d_malloc(sizeof(char) * (l2+1));