v/vlib/net/init_nix.v

18 lines
221 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