2021-01-18 15:20:06 +03:00
|
|
|
// Copyright (c) 2019-2021 Alexander Medvednikov. All rights reserved.
|
2019-12-31 21:53:15 +03: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 12:25:40 +03:00
|
|
|
#include "@VROOT/vlib/os/os_darwin.m"
|
2021-02-01 16:50:41 +03:00
|
|
|
|
2019-12-31 21:53:15 +03:00
|
|
|
pub const (
|
2020-12-16 12:02:36 +03:00
|
|
|
sys_write = 4
|
|
|
|
sys_open = 5
|
|
|
|
sys_close = 6
|
|
|
|
sys_mkdir = 136
|
|
|
|
sys_creat = 8
|
2019-12-31 21:53:15 +03:00
|
|
|
sys_open_nocancel = 398
|
2020-12-16 12:02:36 +03:00
|
|
|
sys_stat64 = 338
|
2019-12-31 21:53:15 +03:00
|
|
|
)
|
2021-01-23 12:25:40 +03:00
|
|
|
|
|
|
|
fn C.darwin_log(s string)
|