Obsolete
/
libipc-old
Archived
3
0
Fork 0
more_to_read
lapupe 2016-09-10 16:48:46 +02:00
parent 0a4988c024
commit 8a7ee440fc
1 changed files with 6 additions and 2 deletions

View File

@ -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;
}