Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/sched/process_stress/
Dprocess.c1007 struct envstruct *envd = envdata; /* pointer to environment data */ local
1018 for (; *envd->env_name != '\0'; envd++) {
1019 if ((val.chptr = getenv(envd->env_name)) == NULL)
1020 val.chptr = envd->eval.chptr;
1027 (envd->eval.vint) = malloc(sizeof(int));
1028 *(envd->eval.vint) = atoi(val.chptr);
1030 envd->eval.chptr = malloc(strlen(val.chptr) + 1);
1031 strcpy(envd->eval.chptr, val.chptr);