2021-01-18 13:20:06 +01:00
|
|
|
// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved.
|
2019-12-31 19:53:15 +01:00
|
|
|
// Use of this source code is governed by an MIT license
|
|
|
|
// that can be found in the LICENSE file.
|
|
|
|
module os
|
|
|
|
|
2021-01-23 10:25:40 +01:00
|
|
|
#include "@VROOT/vlib/os/os_darwin.m"
|
2019-12-31 19:53:15 +01:00
|
|
|
pub const (
|
2020-12-16 10:02:36 +01:00
|
|
|
sys_write = 4
|
|
|
|
sys_open = 5
|
|
|
|
sys_close = 6
|
|
|
|
sys_mkdir = 136
|
|
|
|
sys_creat = 8
|
2019-12-31 19:53:15 +01:00
|
|
|
sys_open_nocancel = 398
|
2020-12-16 10:02:36 +01:00
|
|
|
sys_stat64 = 338
|
2019-12-31 19:53:15 +01:00
|
|
|
)
|
2021-01-23 10:25:40 +01:00
|
|
|
|
|
|
|
fn C.darwin_log(s string)
|