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.c1008 struct envstruct *envd = envdata; /* pointer to environment data */ local
1019 for (; *envd->env_name != '\0'; envd++) {
1020 if ((val.chptr = getenv(envd->env_name)) == NULL)
1021 val.chptr = envd->eval.chptr;
1028 (envd->eval.vint) = malloc(sizeof(int));
1029 *(envd->eval.vint) = atoi(val.chptr);
1031 envd->eval.chptr = malloc(strlen(val.chptr) + 1);
1032 strcpy(envd->eval.chptr, val.chptr);