measure.c
/* Split a string str, separated by delimitors dlm, into an array of strings
 * with maximum length len. */
Split a string str, separated by delimitors dlm, into an array of strings
with maximum length len.
Split a string str separated by delimitors dlm into an array of strings with maximum length len .
static int splitstr (char **arr, char *str, char *dlm, int len) {
	char **ap;
	for (ap = arr; ap < arr + len; ++ap) *ap = strsep(&str, dlm);
	return len;
}
static int splitstr ( char * * arr , char * str , char * dlm , int len ) { char * * ap ; for ( ap = arr ; ap < arr + len ; ++ ap ) * ap = strsep ( & str , dlm ) ; return len ; }
Split a string str, separated by delimitors dlm, into an array of strings
 with maximum length len.
Split a string str separated by delimitors dlm into an array of strings with maximum length len .
/* Parse the string. */