mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
15 lines
416 B
C
15 lines
416 B
C
module std::net::os @if(env::LINUX);
|
|
import libc;
|
|
|
|
const int PLATFORM_AF_UNIX = 1;
|
|
const int PLATFORM_AF_INET = 2;
|
|
const int PLATFORM_AF_AX25 = 3;
|
|
const int PLATFORM_AF_IPX = 4;
|
|
const int PLATFORM_AF_APPLETALK = 5;
|
|
const int PLATFORM_AF_NETROM = 6;
|
|
const int PLATFORM_AF_BRIDGE = 7;
|
|
const int PLATFORM_AF_AAL5 = 8;
|
|
const int PLATFORM_AF_X25 = 9;
|
|
const int PLATFORM_AF_INET6 = 10;
|
|
|
|
const PLATFORM_O_NONBLOCK = 0o4000; |