commit 84f074cff5f4615923a2b9a056a7e1a2d38a74c7
parent 0c34ea970d66d2d4f3da7aac4a984abae7d90e0d
Author: Drew DeVault <sir@cmpwn.com>
Date: Tue, 2 Feb 2021 21:38:34 -0500
fdstream: add copier to static
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/os/+linux/fdstream.ha b/os/+linux/fdstream.ha
@@ -51,6 +51,7 @@ fn static_fdopen(fd: int, name: str, stream: *fd_stream) *io::stream = {
reader = &fd_read,
writer = &fd_write,
closer = &fd_close_static,
+ copier = &fd_copy,
};
stream.fd = fd;
return &stream.stream;