pipe-io-server/clients/c_cpp/test.c
2019-04-04 16:29:48 +02:00

12 lines
233 B
C

#include "pipe_io.h"
int main() {
pipe_io pipeio = new_pipe_io("in", "out");
const char* line;
while ((line = read_line_pipe_io(&pipeio))) {
send_msg_pipe_io(&pipeio, line);
}
close_pipe_io(&pipeio);
}