Lines Matching defs:npp
91 char *npp; /* NETPATH env variable */
107 if ((npp = getenv(NETPATH)) == NULL) {
112 if ((np_sessionp->netpath = malloc(strlen(npp)+1)) == NULL)
115 (void) strcpy(np_sessionp->netpath, npp);
151 char *npp; /* holds current NETPATH */
173 while ((npp = np_sessionp->netpath) != NULL && strlen(npp) != 0) {
174 np_sessionp->netpath = _get_next_token(npp, ':');
176 * npp is a network identifier.
178 if ((ncp = getnetconfigent(npp)) != NULL) {
235 * npp - string
239 _get_next_token(char *npp, int token)
245 if ((cp = strchr(npp, token)) == NULL) {
251 if ((cp > npp) && (cp[-1] == '\\')) {
253 if ((cp > npp + 1) && (cp[-2] != '\\')) {
266 ep = npp;