fx.io: add linux support for iostreams and pipes

This commit is contained in:
2026-06-13 14:47:46 +01:00
parent a4e797f619
commit 10cfb05287
4 changed files with 178 additions and 2 deletions
-1
View File
@@ -12,7 +12,6 @@ fx_status fx_pipe_create(fx_iostream **reader, fx_iostream **writer)
return fx_status_from_errno(errno, FX_ERR_NOT_SUPPORTED);
}
fprintf(stderr, "created pipe %d->%d\n", fds[1], fds[0]);
fx_iostream *r = fx_iostream_create(FX_STREAM_READ, fds[0], true);
fx_iostream *w = fx_iostream_create(FX_STREAM_WRITE, fds[1], true);