Minor improvements to io and os

This commit is contained in:
gingerBill committed 2022-05-05 15:30:07 +01:00
1 parent 0cf37bde8b
commit 5d190b15d7
6 files changed
+6 -20

No files matched your search

+4
View File
@@ -9,6 +9,10 @@ OS :: ODIN_OS
ARCH :: ODIN_ARCH
ENDIAN :: ODIN_ENDIAN
SEEK_SET :: 0
SEEK_CUR :: 1
SEEK_END :: 2
write_string :: proc(fd: Handle, str: string) -> (int, Errno) {
return write(fd, transmute([]byte)str)
}