Searched refs:tmpstr1 (Results 1 - 3 of 3) sorted by relevance

/freebsd-9.3-release/usr.bin/systat/
H A Dcmds.c53 char *cp, *tmpstr, *tmpstr1; local
56 tmpstr = tmpstr1 = strdup(cmd);
57 for (cp = tmpstr1; *cp && !isspace(*cp); cp++)
61 if (*tmpstr1 == '\0')
65 if (strcmp(tmpstr1, "quit") == 0 || strcmp(tmpstr1, "q") == 0)
67 if (strcmp(tmpstr1, "load") == 0) {
71 if (strcmp(tmpstr1, "stop") == 0) {
77 if (strcmp(tmpstr1, "help") == 0) {
92 t = strtod(tmpstr1, NUL
[all...]
H A Dnetcmds.c128 char *cp, *tmpstr, *tmpstr1; local
133 tmpstr = tmpstr1 = strdup(args);
134 cp = index(tmpstr1, '\n');
137 for (;;tmpstr1 = cp) {
138 for (cp = tmpstr1; *cp && isspace(*cp); cp++)
140 tmpstr1 = cp;
145 if (cp - tmpstr1 == 0)
147 sp = getservbyname(tmpstr1,
153 hp = gethostbyname(tmpstr1);
155 in.s_addr = inet_addr(tmpstr1);
[all...]
H A Ddevs.c188 char **tempstr, *tmpstr, *tmpstr1; local
198 tmpstr = tmpstr1 = strdup(args);
200 (*tempstr = strsep(&tmpstr1, "|")) != NULL && (num_args < 100);
248 char *cp, *tmpstr, *tmpstr1, *buffer; local
267 tmpstr = tmpstr1 = strdup(args);
268 cp = index(tmpstr1, '\n');
272 for (cp = tmpstr1; *cp && isspace(*cp); cp++)
274 tmpstr1 = cp;
284 if (strcmp(buffer, tmpstr1) == 0) {
293 strdup(tmpstr1);
[all...]

Completed in 79 milliseconds