mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
add missing cfns
This commit is contained in:
committed by
Alexander Medvednikov
parent
5794594e19
commit
268a6dc6d9
@@ -67,7 +67,7 @@ fn C.ftell(fp voidptr) int
|
||||
fn C.getenv(byteptr) byteptr
|
||||
fn C.sigaction(int, voidptr, int)
|
||||
|
||||
fn C.GetLastError() u32
|
||||
|
||||
|
||||
// read_bytes reads an amount of bytes from the beginning of the file
|
||||
pub fn (f File) read_bytes(size int) []byte {
|
||||
|
||||
@@ -130,7 +130,7 @@ pub fn dir_exists(path string) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
fn C.CreateDirectory(byteptr, int) bool
|
||||
|
||||
|
||||
// mkdir creates a new directory with the specified path.
|
||||
pub fn mkdir(path string) ?bool {
|
||||
|
||||
Reference in New Issue
Block a user