Task #121

envvars.c: work on envvars_init()

Added by Andreas Schröder over 7 years ago.

Status:NewStart date:06/02/2010
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:all
Target version:0.64.5

Description

int
envvars_init (struct envvars *envvars) {
  envvars->variables.ptr = NULL;
  envvars->nvariables = 0;
  envvars->evshmid = (int64_t)-1;
  envvars->evsemid = (int64_t)-1;            // FIXME: init with a new semaphore if current invalid
  return 1;
}

Also available in: Atom PDF