1
0
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:
Naheel
2020-06-01 22:11:40 +03:00
committed by GitHub
parent a24bf80228
commit 4fcabb71c4
4 changed files with 31 additions and 9 deletions

View File

@@ -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

View File

@@ -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()