process
This commit is contained in:
parent
0a4988c024
commit
8a7ee440fc
@ -26,8 +26,12 @@ void srv_process_gen (struct process *p
|
||||
|
||||
memset (p->path_in, 0, PATH_MAX);
|
||||
memset (p->path_out, 0, PATH_MAX);
|
||||
snprintf(p->path_in , PATH_MAX, "%s/%d-%d-in" , TMPDIR, pid, index);
|
||||
snprintf(p->path_out, PATH_MAX, "%s/%d-%d-out", TMPDIR, pid, index);
|
||||
|
||||
snprintf(p->path_in , PATH_MAX, "%s%d-%d-in" , TMPDIR, pid, index);
|
||||
snprintf(p->path_out, PATH_MAX, "%s%d-%d-out", TMPDIR, pid, index);
|
||||
//printf("path-in : %s\n", p->path_in );
|
||||
//printf("path-out : %s\n", p->path_out );
|
||||
|
||||
p->in = NULL;
|
||||
p->out = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user