v/vlib/os/os_darwin.c.v

18 lines
427 B
V
Raw Normal View History

// 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 (
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
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)