1 USING: alien.syntax alien.c-types math vocabs.loader
5 CONSTANT: FD_SETSIZE 256
18 { d_fileno __uint32_t }
19 { d_reclen __uint16_t }
21 { d_namlen __uint8_t }
22 { d_name char[256] } ;
59 ALIAS: EWOULDBLOCK EAGAIN
60 CONSTANT: EINPROGRESS 36
63 CONSTANT: EDESTADDRREQ 39
65 CONSTANT: EPROTOTYPE 41
66 CONSTANT: ENOPROTOOPT 42
67 CONSTANT: EPROTONOSUPPORT 43
68 CONSTANT: ESOCKTNOSUPPORT 44
69 CONSTANT: EOPNOTSUPP 45
70 CONSTANT: EPFNOSUPPORT 46
71 CONSTANT: EAFNOSUPPORT 47
72 CONSTANT: EADDRINUSE 48
73 CONSTANT: EADDRNOTAVAIL 49
75 CONSTANT: ENETUNREACH 51
76 CONSTANT: ENETRESET 52
77 CONSTANT: ECONNABORTED 53
78 CONSTANT: ECONNRESET 54
82 CONSTANT: ESHUTDOWN 58
83 CONSTANT: ETOOMANYREFS 59
84 CONSTANT: ETIMEDOUT 60
85 CONSTANT: ECONNREFUSED 61
87 CONSTANT: ENAMETOOLONG 63
88 CONSTANT: EHOSTDOWN 64
89 CONSTANT: EHOSTUNREACH 65
90 CONSTANT: ENOTEMPTY 66
97 CONSTANT: ERPCMISMATCH 73
98 CONSTANT: EPROGUNAVAIL 74
99 CONSTANT: EPROGMISMATCH 75
100 CONSTANT: EPROCUNAVAIL 76
105 CONSTANT: ENEEDAUTH 81
108 CONSTANT: EOVERFLOW 84
111 CONSTANT: ECANCELED 87
118 CONSTANT: EMULTIHOP 94
123 TYPEDEF: __uint8_t sa_family_t
125 CONSTANT: _UTX_USERSIZE 32
126 CONSTANT: _UTX_LINESIZE 32
127 CONSTANT: _UTX_IDSIZE 4
128 CONSTANT: _UTX_HOSTSIZE 256
130 CONSTANT: _SS_MAXSIZE 128
132 : _SS_ALIGNSIZE ( -- n )
133 "__int64_t" heap-size ; inline
135 : _SS_PAD1SIZE ( -- n )
136 _SS_ALIGNSIZE 2 - ; inline
138 : _SS_PAD2SIZE ( -- n )
139 _SS_MAXSIZE 2 - _SS_PAD1SIZE - _SS_ALIGNSIZE - ; inline
141 "unix.bsd.netbsd.structs" require