1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/net/init_nix.c.v
2020-05-22 17:36:09 +02:00

17 lines
220 B
V

module net
#include <sys/socket.h>
#include <unistd.h>
#include <netinet/in.h>
#include <netdb.h>
#include <errno.h>
fn error_code() int {
return C.errno
}
pub const (
msg_nosignal = 0x4000
)
#flag solaris -lsocket