blob: f12c2800e1982cb4dd032b52e994c7e3ac9ec54a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package os2
import "base:runtime"
create_temp_file :: proc(dir, pattern: string) -> (^File, Error) {
return _create_temp(dir, pattern)
}
mkdir_temp :: make_directory_temp
make_directory_temp :: proc(dir, pattern: string, allocator: runtime.Allocator) -> (string, Error) {
return _mkdir_temp(dir, pattern, allocator)
}
temp_dir :: temp_directory
temp_directory :: proc(allocator: runtime.Allocator) -> (string, Error) {
return _temp_dir(allocator)
}
|