summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
19e0d44)
This prepares for a possible conversion of the umbilical socket to a
control socket.
return status;
#else
int pfd[2] = {-1, -1};
return status;
#else
int pfd[2] = {-1, -1};
- if(pipe(pfd)) {
- fprintf(stderr, "Could not create umbilical pipe: %s\n", strerror(errno));
+ if(socketpair(AF_UNIX, SOCK_STREAM, 0, pfd)) {
+ fprintf(stderr, "Could not create umbilical socket: %s\n", strerror(errno));