mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: clean up
This commit is contained in:
parent
b667940c68
commit
718041194f
18
vlib/os/os.v
18
vlib/os/os.v
@ -42,22 +42,6 @@ struct FileInfo {
|
|||||||
size int
|
size int
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
import const (
|
|
||||||
SEEK_SET
|
|
||||||
SEEK_END
|
|
||||||
SA_SIGINFO
|
|
||||||
S_IFMT
|
|
||||||
S_IFDIR
|
|
||||||
SIGABRT
|
|
||||||
SIGFPE
|
|
||||||
SIGILL
|
|
||||||
SIGINT
|
|
||||||
SIGSEGV
|
|
||||||
SIGTERM
|
|
||||||
)
|
|
||||||
*/
|
|
||||||
|
|
||||||
struct C.stat {
|
struct C.stat {
|
||||||
st_size int
|
st_size int
|
||||||
st_mode int
|
st_mode int
|
||||||
@ -85,8 +69,6 @@ fn C.ftell(fp voidptr) int
|
|||||||
fn C.getenv(byteptr) byteptr
|
fn C.getenv(byteptr) byteptr
|
||||||
fn C.sigaction(int, voidptr, int)
|
fn C.sigaction(int, voidptr, int)
|
||||||
|
|
||||||
fn todo_remove(){}
|
|
||||||
|
|
||||||
fn init_os_args(argc int, argv &byteptr) []string {
|
fn init_os_args(argc int, argv &byteptr) []string {
|
||||||
mut args := []string
|
mut args := []string
|
||||||
$if windows {
|
$if windows {
|
||||||
|
Loading…
Reference in New Issue
Block a user