1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
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 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"
2019-12-31 21:53:15 +03:00
pub const (
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
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)