mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: implement cp for nix
This commit is contained in:
@@ -62,12 +62,8 @@ fn C.send() int
|
||||
|
||||
fn C.recv() int
|
||||
|
||||
fn C.read() int
|
||||
|
||||
fn C.shutdown() int
|
||||
|
||||
fn C.close() int
|
||||
|
||||
fn C.ntohs() int
|
||||
|
||||
fn C.getsockname() int
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
module websocket
|
||||
|
||||
fn C.write() int
|
||||
|
||||
fn (mut ws Client) write_to_server(buf voidptr, len int) int {
|
||||
mut bytes_written := 0
|
||||
ws.write_lock.lock()
|
||||
|
||||
Reference in New Issue
Block a user