Lines Matching defs:ptr
23 register char *ptr;
27 for (ptr = string; *ptr; ptr++);
28 if (ptr != string) {
29 c = *(--ptr);
30 *ptr = '\0';
39 register char *ptr;
43 for (ptr = string; *ptr; ptr++)
45 if (ptr != string && isspace(*(--ptr))) {
46 c = *ptr;
47 *ptr = '\0';
56 register char *ptr;
58 for (ptr = string; *ptr; ptr++);
60 while ((--ptr >= string) && isspace(*ptr));
62 *(++ptr) = '\0';
64 return (ptr);