Obsolete
/
libipc-old
Archived
3
0
Fork 0

process : retour à la version correcte

more_to_read
Philippe PITTOLI 2016-09-10 17:29:50 +02:00
parent 60d6017ef2
commit 6b2f53aee4
1 changed files with 0 additions and 14 deletions

View File

@ -29,20 +29,6 @@ void srv_process_gen (struct process *p
snprintf(p->path_in , PATH_MAX, "%s%d-%d-in" , 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); 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;
}
void srv_process_free (struct process * p)
{
// TODO nothing to do now
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);
} }
void srv_process_print (struct process *p) void srv_process_print (struct process *p)