v2 / vlib / os / os_linux.c.v
15 lines · 13 sloc · 396 bytes · 763f94388b1ceff59c3e68ebda2c9f57197f32a4
Raw
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.
4module os
5
6const prot_read = 1
7const prot_write = 2
8const map_private = 0x02
9const map_anonymous = 0x20
10
11pub const sys_write = 1
12pub const sys_open = 2
13pub const sys_close = 3
14pub const sys_mkdir = 83
15pub const sys_creat = 85
16