Home
last modified time | relevance | path

Searched refs:cp (Results 1 – 3 of 3) sorted by relevance

/misc/
A Dgetusershell.c98 char **sp, *cp; in initshells() local
129 cp = strings; in initshells()
130 while (fgets_unlocked(cp, flen - (cp - strings), fp) != NULL) { in initshells()
131 while (*cp != '#' && *cp != '/' && *cp != '\0') in initshells()
132 cp++; in initshells()
133 if (*cp == '#' || *cp == '\0' || cp[1] == '\0') in initshells()
135 *sp++ = cp; in initshells()
136 while (!isspace(*cp) && *cp != '#' && *cp != '\0') in initshells()
137 cp++; in initshells()
138 *cp++ = '\0'; in initshells()
A Dtst-dirname.c29 char *cp; in test() local
30 cp = strdupa (input); in test()
31 cp = dirname (cp); in test()
32 retval = strcmp (cp, result); in test()
35 input, result, cp); in test()
A Dmntent_r.c119 char *cp; in get_mnt_entry() local
152 cp = __strsep (&head, " \t"); in get_mnt_entry()
153 mp->mnt_fsname = cp != NULL ? decode_name (cp) : (char *) ""; in get_mnt_entry()
156 cp = __strsep (&head, " \t"); in get_mnt_entry()
157 mp->mnt_dir = cp != NULL ? decode_name (cp) : (char *) ""; in get_mnt_entry()
160 cp = __strsep (&head, " \t"); in get_mnt_entry()
161 mp->mnt_type = cp != NULL ? decode_name (cp) : (char *) ""; in get_mnt_entry()
164 cp = __strsep (&head, " \t"); in get_mnt_entry()
165 mp->mnt_opts = cp != NULL ? decode_name (cp) : (char *) ""; in get_mnt_entry()

Completed in 6 milliseconds