| 1 | // Copyright (c) 2019-2024 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 prot_read = 1 |
| 7 | const prot_write = 2 |
| 8 | const map_private = 0x02 |
| 9 | const map_anonymous = 0x20 |
| 10 | |
| 11 | pub const sys_write = 1 |
| 12 | pub const sys_open = 2 |
| 13 | pub const sys_close = 3 |
| 14 | pub const sys_mkdir = 83 |
| 15 | pub const sys_creat = 85 |
| 16 |