Lines Matching defs:pos
551 char *pos;
554 pos = buf;
555 while ((line = strsep(&pos, "\n"))) {
556 if (pos != NULL || line[0] != '\0')
676 char *pos;
683 pos = cmd;
684 while (pos != NULL && pos[0] != '\0') {
685 if (pos[0] == '\'') {
687 pos++;
688 argv[i] = strsep(&pos, "\'");
689 if (pos != NULL)
690 while (pos[0] == ' ')
691 pos++;
693 argv[i] = strsep(&pos, " ");
694 if (pos != NULL)
695 while (pos[0] == ' ')
696 pos++;
941 char *pos;
953 newpos=pos=&newifname[strcspn(newifname,"0123456789")];
954 ifidnum=(int)strtol(pos,&newpos,10);
955 *pos='\0';
956 if (newpos > pos && *newpos == '\0') /* append new iface num to name */
958 snprintf(pos,IFNAMSIZ+(newifname-pos), "%d", 128 - udev_device_get_ifindex(dev));