mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-13 01:21:38 -07:00
10 lines
258 B
Odin
10 lines
258 B
Odin
#+private
|
|
package os2
|
|
|
|
import "base:runtime"
|
|
|
|
_temp_dir :: proc(allocator: runtime.Allocator) -> (string, runtime.Allocator_Error) {
|
|
// NOTE: requires user to add /tmp to their preopen dirs, no standard way exists.
|
|
return clone_string("/tmp", allocator)
|
|
}
|