Obsolete
/
libipc-old
Archived
3
0
Fork 0

process adapted for unix socket

more_to_read
lapupe 2016-10-27 16:26:16 +02:00
parent 6b9e5ab270
commit 2e41ec11c8
2 changed files with 3 additions and 1 deletions

View File

@ -29,6 +29,7 @@ void srv_process_gen (struct process *p
snprintf(p->path_in , PATH_MAX, "%s%d-%d-%d-in" , TMPDIR, pid, index, version);
snprintf(p->path_out, PATH_MAX, "%s%d-%d-%d-out", TMPDIR, pid, index, version);
snprintf(p->path_proc, PATH_MAX, "%s%d-%d-%d", TMPDIR, pid, index, version);
}

View File

@ -19,7 +19,8 @@ struct process {
unsigned int index;
char path_in [PATH_MAX];
char path_out [PATH_MAX];
int pfd;
char path_proc [PATH_MAX];
int proc_fd;
};
struct process * srv_process_copy (const struct process *p);