mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-13 01:21:38 -07:00
12 lines
232 B
Odin
12 lines
232 B
Odin
#+build freestanding
|
|
#+private
|
|
package runtime
|
|
|
|
// TODO(bill): reimplement `os.write`
|
|
_stderr_write :: proc "contextless" (data: []byte) -> (int, _OS_Errno) {
|
|
return 0, -1
|
|
}
|
|
|
|
_exit :: proc "contextless" (code: int) -> ! {
|
|
trap()
|
|
} |