1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/os/const.v

17 lines
319 B
V
Raw Normal View History

module os
// (Must be realized in Syscall) (Must be specified)
2020-01-21 18:58:47 +03:00
2019-07-31 11:32:00 +03:00
// ref: http://www.ccfit.nsu.ru/~deviv/courses/unix/unix/ng7c229.html
const (
2019-12-19 05:41:12 +03:00
S_IFMT = 0xF000 // type of file
2019-07-31 11:32:00 +03:00
S_IFDIR = 0x4000 // directory
2019-12-04 23:53:11 +03:00
S_IFLNK = 0xa000 // link
2019-07-31 11:32:00 +03:00
)
2019-12-19 05:41:12 +03:00
const (
STD_INPUT_HANDLE = -10
STD_OUTPUT_HANDLE = -11
STD_ERROR_HANDLE = -12
)