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. |
4 | module os |
5 | |
6 | const ( |
7 | prot_read = 1 |
8 | prot_write = 2 |
9 | map_private = 0x02 |
10 | map_anonymous = 0x20 |
11 | ) |
12 | |
13 | pub const ( |
14 | sys_write = 1 |
15 | sys_open = 2 |
16 | sys_close = 3 |
17 | sys_mkdir = 83 |
18 | sys_creat = 85 |
19 | ) |