aboutsummaryrefslogtreecommitdiff
path: root/core/c
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2024-08-18 23:03:07 -0400
committerLaytan <laytanlaats@hotmail.com>2024-08-28 19:53:19 +0200
commit981a2e1a0097ebd2e3237f5693cf8d929c6a8ca9 (patch)
tree579086060e7fd1415e09e1668119ad15260ab96e /core/c
parenteb6e5ee3a1ebfec58f2b1bb3a361d329f8d2c9ab (diff)
Add missing `io.Stream_Mode` responses
Diffstat (limited to 'core/c')
-rw-r--r--core/c/libc/stdio.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/c/libc/stdio.odin b/core/c/libc/stdio.odin
index 4be00ff0b..019389b0d 100644
--- a/core/c/libc/stdio.odin
+++ b/core/c/libc/stdio.odin
@@ -368,7 +368,7 @@ to_stream :: proc(file: ^FILE) -> io.Stream {
return 0, .Empty
case .Query:
- return io.query_utility({ .Close, .Flush, .Read, .Read_At, .Write, .Write_At, .Seek, .Size })
+ return io.query_utility({ .Close, .Flush, .Read, .Read_At, .Write, .Write_At, .Seek, .Size, .Query })
}
return
}