mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vlib: use new filename format
This commit is contained in:
17
vlib/net/init_nix.c.v
Normal file
17
vlib/net/init_nix.c.v
Normal file
@ -0,0 +1,17 @@
|
||||
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
|
||||
|
Reference in New Issue
Block a user