Searched defs:curtoken (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/bnu/
H A Dsetmode.c284 char *curtoken; local
297 curtoken = strtok(modes, ",");
298 while (curtoken != NULL) {
301 if (strcmp(curtoken, imodes[i].string) == 0) {
308 if (strcmp(curtoken, omodes[i].string) == 0) {
315 if (strcmp(curtoken, cmodes[i].string) == 0) {
322 if (strcmp(curtoken, lmodes[i].string) == 0) {
329 CDEBUG(5, "unknown mode %s in STTY= string", curtoken);
332 curtoken = strtok((char *)NULL, ",");
/illumos-gate/usr/src/cmd/hal/hald/
H A Ddevice_info.c207 gchar *curtoken; local
217 curtoken = tokens[i];
221 strncpy (prop_result, curtoken, prop_result_size);
228 if (curtoken[0] == '@') {
232 udiprop = curtoken + 1;
242 /*HAL_INFO (("new_udi = '%s'", curtoken));*/
243 strncpy (udi_result, curtoken, udi_result_size);

Completed in 60 milliseconds