v / vlib / os
Raw file | 19 loc (17 sloc) | 365 bytes | Latest commit hash 59ed4be49
1// Copyright (c) 2019-2023 Alexander Medvednikov. All rights reserved.
2// Use of this source code is governed by an MIT license
3// that can be found in the LICENSE file.
4module os
5
6const (
7 prot_read = 1
8 prot_write = 2
9 map_private = 0x02
10 map_anonymous = 0x20
11)
12
13pub const (
14 sys_write = 1
15 sys_open = 2
16 sys_close = 3
17 sys_mkdir = 83
18 sys_creat = 85
19)