53 double sb_strtod(
const char *s00,
char **se);
58 return sb_strtod(str, NULL);
71 while ((c = va_arg(args,
const char *)) != NULL) {
80 while ((c = va_arg(args,
const char *)) != NULL) {
95 size_t sub = strspn(
string,
" \t\n\r\f");
97 memmove(
string,
string + sub, len + 1 - sub);
104 if (strchr(
" \t\n\r\f",
string[sub]) == NULL)
109 string[sub+1] =
'\0';
123 while (line[i] && isspace((
unsigned char)line[i]))
128 if (ptr != NULL && n >= max_ptr) {
144 while (line[i] && !isspace((
unsigned char)line[i]))
158 nextword(
char *line,
const char *delim,
char **word,
char *delimfound)
164 for (w = line; *w; w++) {
165 for (d = delim; *d && (*d != *w); d++);
176 for (d = delim; *d && (*d != *w); d++);