45 #ifdef STREAM_CONNECTIONS
64 #ifdef STREAM_CONNECTIONS
65 const char *myname =
"stream_connect";
73 if ((fifo = open(path, O_WRONLY | O_NONBLOCK, 0)) < 0)
87 if (ioctl(fifo, I_SENDFD, pair[1]) < 0)
88 msg_fatal(
"%s: send file descriptor: %m", myname);
107 msg_fatal(
"stream connections are not implemented");
NORETURN msg_fatal(const char *fmt,...)
int stream_connect(const char *path, int block_mode, int unused_timeout)
int non_blocking(int, int)