Searched defs:penv (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/test/zfs-tests/tests/functional/ctime/
H A Dctime_001_pos.c279 char *penv[] = {"TESTDIR", "TESTFILE0"}; local
287 for (i = 0; i < sizeof (penv) / sizeof (char *); i++) {
288 if ((penv[i] = getenv(penv[i])) == NULL) {
289 (void) fprintf(stderr, "getenv(penv[%d])\n", i);
293 (void) snprintf(tfile, sizeof (tfile), "%s/%s", penv[0], penv[1]);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rshd.c1389 * Check if lenv and penv matches or not.
1392 locale_envmatch(char *lenv, char *penv) argument
1394 while ((*lenv == *penv) && (*lenv != '\0') && (*penv != '=')) {
1396 penv++;
1402 return ((*lenv == '\0' && *penv == '=' && *(penv + 1) != '/'));
/illumos-gate/usr/src/cmd/login/
H A Dlogin.c2524 * Check if lenv and penv matches or not.
2527 locale_envmatch(char *lenv, char *penv) argument
2529 while ((*lenv == *penv) && *lenv && *penv != '=') {
2531 penv++;
2537 if (*lenv == '\0' && *penv == '=' && *(penv + 1) != '/')
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c3351 char **penv; local
3389 penv = mdb_alloc((mdb_nv_size(&pt->p_env)+ 1) * sizeof (char *),
3393 penv[i] = mdb_nv_get_cookie(v);
3394 penv[i] = NULL;
3396 P = Pxcreate(execname, (char **)pargv, penv, &perr, NULL, 0);
3400 mdb_free(penv, i * sizeof (char *));

Completed in 104 milliseconds