Minor improvements to io and os

This commit is contained in:
gingerBill
2022-05-05 15:30:07 +01:00
parent 0cf37bde8b
commit 5d190b15d7
6 changed files with 6 additions and 20 deletions
+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)
}