Lines Matching refs:pos
547 char *pos;
550 pos = buf;
551 while ((line = strsep(&pos, "\n"))) {
552 if (pos != NULL || line[0] != '\0')
689 char *pos;
696 pos = cmd;
697 while (pos != NULL && pos[0] != '\0') {
698 if (pos[0] == '\'') {
700 pos++;
701 argv[i] = strsep(&pos, "\'");
702 if (pos != NULL)
703 while (pos[0] == ' ')
704 pos++;
706 argv[i] = strsep(&pos, " ");
707 if (pos != NULL)
708 while (pos[0] == ' ')
709 pos++;