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

net: fix unix sockets (#8697)

This commit is contained in:
bettafish04
2021-02-12 19:10:06 +01:00
committed by GitHub
parent 2781a2b923
commit 0b777c68c3
2 changed files with 6 additions and 2 deletions

View File

@@ -3,6 +3,10 @@ module unix
import time
import net
const (
error_ewouldblock = C.EWOULDBLOCK
)
fn C.SUN_LEN(C.sockaddr_un) int
fn C.strncpy(charptr, charptr, int)