12 lines
233 B
C
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);
|
||
|
}
|