Lines Matching refs:i32

14 pub type clockid_t = i32;
19 pub type pid_t = i32;
26 pub ai_flags: i32,
27 pub ai_family: i32,
28 pub ai_socktype: i32,
29 pub ai_protocol: i32,
59 pub fd: i32,
113 pub tv_nsec: i32,
117 pub const AF_UNSPEC: i32 = 0;
118 pub const AF_INET: i32 = 3;
119 pub const AF_INET6: i32 = 1;
120 pub const AF_VSOCK: i32 = 2;
135 pub const EAI_AGAIN: i32 = 2;
136 pub const EAI_BADFLAGS: i32 = 3;
137 pub const EAI_FAIL: i32 = 4;
138 pub const EAI_FAMILY: i32 = 5;
139 pub const EAI_MEMORY: i32 = 6;
140 pub const EAI_NODATA: i32 = 7;
141 pub const EAI_NONAME: i32 = 8;
142 pub const EAI_SERVICE: i32 = 9;
143 pub const EAI_SOCKTYPE: i32 = 10;
144 pub const EAI_SYSTEM: i32 = 11;
145 pub const EAI_OVERFLOW: i32 = 14;
151 pub const F_DUPFD: i32 = 0;
152 pub const F_GETFD: i32 = 1;
153 pub const F_SETFD: i32 = 2;
154 pub const F_GETFL: i32 = 3;
155 pub const F_SETFL: i32 = 4;
157 pub const FD_CLOEXEC: i32 = 1;
159 pub const FIONBIO: i32 = 0x8008667e;
163 pub const IP_TOS: i32 = 1;
164 pub const IP_TTL: i32 = 2;
165 pub const IP_ADD_MEMBERSHIP: i32 = 3;
166 pub const IP_DROP_MEMBERSHIP: i32 = 4;
167 pub const IP_MULTICAST_TTL: i32 = 5;
168 pub const IP_MULTICAST_LOOP: i32 = 7;
170 pub const IPPROTO_IP: i32 = 0;
171 pub const IPPROTO_TCP: i32 = 6;
172 pub const IPPROTO_UDP: i32 = 17;
173 pub const IPPROTO_IPV6: i32 = 41;
175 pub const IPV6_ADD_MEMBERSHIP: i32 = 12;
176 pub const IPV6_DROP_MEMBERSHIP: i32 = 13;
177 pub const IPV6_MULTICAST_LOOP: i32 = 19;
178 pub const IPV6_V6ONLY: i32 = 27;
180 pub const MSG_PEEK: i32 = 1;
182 pub const O_RDONLY: i32 = 0o0;
183 pub const O_WRONLY: i32 = 0o1;
184 pub const O_RDWR: i32 = 0o2;
185 pub const O_CREAT: i32 = 0o100;
186 pub const O_EXCL: i32 = 0o200;
187 pub const O_TRUNC: i32 = 0o1000;
188 pub const O_APPEND: i32 = 0o2000;
189 pub const O_NONBLOCK: i32 = 0o4000;
190 pub const O_DIRECTORY: i32 = 0o200000;
226 pub const SHUT_RD: i32 = 0;
227 pub const SHUT_WR: i32 = 1;
228 pub const SHUT_RDWR: i32 = 2;
230 pub const SO_REUSEADDR: i32 = 0x0004;
231 pub const SO_KEEPALIVE: i32 = 0x0008;
232 pub const SO_BROADCAST: i32 = 0x0020;
233 pub const SO_LINGER: i32 = 0x0080;
234 pub const SO_SNDBUF: i32 = 0x1001;
235 pub const SO_RCVBUF: i32 = 0x1002;
236 pub const SO_SNDTIMEO: i32 = 0x1005;
237 pub const SO_RCVTIMEO: i32 = 0x1006;
238 pub const SO_ERROR: i32 = 0x1007;
240 pub const SOCK_STREAM: i32 = 1;
241 pub const SOCK_DGRAM: i32 = 2;
242 pub const SOCK_NONBLOCK: i32 = 0o4000;
243 pub const SOCK_CLOEXEC: i32 = 0o40000;
245 pub const SOL_SOCKET: i32 = 4095;
251 pub const TCP_NODELAY: i32 = 1;
253 pub const EPERM: i32 = 1;
254 pub const ENOENT: i32 = 2;
255 pub const ESRCH: i32 = 3;
256 pub const EINTR: i32 = 4;
257 pub const EIO: i32 = 5;
258 pub const ENXIO: i32 = 6;
259 pub const E2BIG: i32 = 7;
260 pub const ENOEXEC: i32 = 8;
261 pub const EBADF: i32 = 9;
262 pub const ECHILD: i32 = 10;
263 pub const EAGAIN: i32 = 11;
264 pub const ENOMEM: i32 = 12;
265 pub const EACCES: i32 = 13;
266 pub const EFAULT: i32 = 14;
267 pub const ENOTBLK: i32 = 15;
268 pub const EBUSY: i32 = 16;
269 pub const EEXIST: i32 = 17;
270 pub const EXDEV: i32 = 18;
271 pub const ENODEV: i32 = 19;
272 pub const ENOTDIR: i32 = 20;
273 pub const EISDIR: i32 = 21;
274 pub const EINVAL: i32 = 22;
275 pub const ENFILE: i32 = 23;
276 pub const EMFILE: i32 = 24;
277 pub const ENOTTY: i32 = 25;
278 pub const ETXTBSY: i32 = 26;
279 pub const EFBIG: i32 = 27;
280 pub const ENOSPC: i32 = 28;
281 pub const ESPIPE: i32 = 29;
282 pub const EROFS: i32 = 30;
283 pub const EMLINK: i32 = 31;
284 pub const EPIPE: i32 = 32;
285 pub const EDOM: i32 = 33;
286 pub const ERANGE: i32 = 34;
287 pub const EDEADLK: i32 = 35;
288 pub const ENAMETOOLONG: i32 = 36;
289 pub const ENOLCK: i32 = 37;
290 pub const ENOSYS: i32 = 38;
291 pub const ENOTEMPTY: i32 = 39;
292 pub const ELOOP: i32 = 40;
293 pub const EWOULDBLOCK: i32 = EAGAIN;
294 pub const ENOMSG: i32 = 42;
295 pub const EIDRM: i32 = 43;
296 pub const ECHRNG: i32 = 44;
297 pub const EL2NSYNC: i32 = 45;
298 pub const EL3HLT: i32 = 46;
299 pub const EL3RST: i32 = 47;
300 pub const ELNRNG: i32 = 48;
301 pub const EUNATCH: i32 = 49;
302 pub const ENOCSI: i32 = 50;
303 pub const EL2HLT: i32 = 51;
304 pub const EBADE: i32 = 52;
305 pub const EBADR: i32 = 53;
306 pub const EXFULL: i32 = 54;
307 pub const ENOANO: i32 = 55;
308 pub const EBADRQC: i32 = 56;
309 pub const EBADSLT: i32 = 57;
310 pub const EDEADLOCK: i32 = EDEADLK;
311 pub const EBFONT: i32 = 59;
312 pub const ENOSTR: i32 = 60;
313 pub const ENODATA: i32 = 61;
314 pub const ETIME: i32 = 62;
315 pub const ENOSR: i32 = 63;
316 pub const ENONET: i32 = 64;
317 pub const ENOPKG: i32 = 65;
318 pub const EREMOTE: i32 = 66;
319 pub const ENOLINK: i32 = 67;
320 pub const EADV: i32 = 68;
321 pub const ESRMNT: i32 = 69;
322 pub const ECOMM: i32 = 70;
323 pub const EPROTO: i32 = 71;
324 pub const EMULTIHOP: i32 = 72;
325 pub const EDOTDOT: i32 = 73;
326 pub const EBADMSG: i32 = 74;
327 pub const EOVERFLOW: i32 = 75;
328 pub const ENOTUNIQ: i32 = 76;
329 pub const EBADFD: i32 = 77;
330 pub const EREMCHG: i32 = 78;
331 pub const ELIBACC: i32 = 79;
332 pub const ELIBBAD: i32 = 80;
333 pub const ELIBSCN: i32 = 81;
334 pub const ELIBMAX: i32 = 82;
335 pub const ELIBEXEC: i32 = 83;
336 pub const EILSEQ: i32 = 84;
337 pub const ERESTART: i32 = 85;
338 pub const ESTRPIPE: i32 = 86;
339 pub const EUSERS: i32 = 87;
340 pub const ENOTSOCK: i32 = 88;
341 pub const EDESTADDRREQ: i32 = 89;
342 pub const EMSGSIZE: i32 = 90;
343 pub const EPROTOTYPE: i32 = 91;
344 pub const ENOPROTOOPT: i32 = 92;
345 pub const EPROTONOSUPPORT: i32 = 93;
346 pub const ESOCKTNOSUPPORT: i32 = 94;
347 pub const EOPNOTSUPP: i32 = 95;
348 pub const EPFNOSUPPORT: i32 = 96;
349 pub const EAFNOSUPPORT: i32 = 97;
350 pub const EADDRINUSE: i32 = 98;
351 pub const EADDRNOTAVAIL: i32 = 99;
352 pub const ENETDOWN: i32 = 100;
353 pub const ENETUNREACH: i32 = 101;
354 pub const ENETRESET: i32 = 102;
355 pub const ECONNABORTED: i32 = 103;
356 pub const ECONNRESET: i32 = 104;
357 pub const ENOBUFS: i32 = 105;
358 pub const EISCONN: i32 = 106;
359 pub const ENOTCONN: i32 = 107;
360 pub const ESHUTDOWN: i32 = 108;
361 pub const ETOOMANYREFS: i32 = 109;
362 pub const ETIMEDOUT: i32 = 110;
363 pub const ECONNREFUSED: i32 = 111;
364 pub const EHOSTDOWN: i32 = 112;
365 pub const EHOSTUNREACH: i32 = 113;
366 pub const EALREADY: i32 = 114;
367 pub const EINPROGRESS: i32 = 115;
368 pub const ESTALE: i32 = 116;
369 pub const EUCLEAN: i32 = 117;
370 pub const ENOTNAM: i32 = 118;
371 pub const ENAVAIL: i32 = 119;
372 pub const EISNAM: i32 = 120;
373 pub const EREMOTEIO: i32 = 121;
374 pub const EDQUOT: i32 = 122;
375 pub const ENOMEDIUM: i32 = 123;
376 pub const EMEDIUMTYPE: i32 = 124;
377 pub const ECANCELED: i32 = 125;
378 pub const ENOKEY: i32 = 126;
379 pub const EKEYEXPIRED: i32 = 127;
380 pub const EKEYREVOKED: i32 = 128;
381 pub const EKEYREJECTED: i32 = 129;
382 pub const EOWNERDEAD: i32 = 130;
383 pub const ENOTRECOVERABLE: i32 = 131;
384 pub const ERFKILL: i32 = 132;
385 pub const EHWPOISON: i32 = 133;
401 pub fn exit(status: i32) -> !; in exit() argument
407 pub fn errno() -> i32; in errno()
410 pub fn clock_gettime(clockid: clockid_t, tp: *mut timespec) -> i32; in clock_gettime() argument
413 pub fn nanosleep(req: *const timespec) -> i32; in nanosleep() argument
424 ) -> i32; in futex_wait() argument
427 pub fn futex_wake(address: *mut u32, count: i32) -> i32; in futex_wake() argument
430 pub fn stat(path: *const c_char, stat: *mut stat) -> i32; in stat() argument
433 pub fn fstat(fd: i32, stat: *mut stat) -> i32; in fstat() argument
436 pub fn lstat(path: *const c_char, stat: *mut stat) -> i32; in lstat() argument
439 pub fn open(path: *const c_char, flags: i32, mode: mode_t) -> i32; in open() argument
442 pub fn unlink(path: *const c_char) -> i32; in unlink() argument
445 pub fn mkdir(path: *const c_char, mode: mode_t) -> i32; in mkdir() argument
448 pub fn rmdir(path: *const c_char) -> i32; in rmdir() argument
451 pub fn read(fd: i32, buf: *mut u8, len: usize) -> isize; in read() argument
454 pub fn write(fd: i32, buf: *const u8, len: usize) -> isize; in write() argument
457 pub fn readv(fd: i32, iov: *const iovec, iovcnt: usize) -> isize; in readv() argument
460 pub fn writev(fd: i32, iov: *const iovec, iovcnt: usize) -> isize; in writev() argument
463 pub fn close(fd: i32) -> i32; in close() argument
466 pub fn dup(fd: i32) -> i32; in dup() argument
469 pub fn fcntl(fd: i32, cmd: i32, arg: i32) -> i32; in fcntl() argument
472 pub fn getdents64(fd: i32, dirp: *mut dirent64, count: usize) -> isize; in getdents64() argument
480 ) -> i32; in getaddrinfo() argument
486 pub fn socket(domain: i32, ty: i32, protocol: i32) -> i32; in socket() argument
489 pub fn bind(sockfd: i32, addr: *const sockaddr, addrlen: socklen_t) -> i32; in bind() argument
492 pub fn listen(sockfd: i32, backlog: i32) -> i32; in listen() argument
495 pub fn accept(sockfd: i32, addr: *mut sockaddr, addrlen: *mut socklen_t) -> i32; in accept() argument
498 pub fn connect(sockfd: i32, addr: *const sockaddr, addrlen: socklen_t) -> i32; in connect() argument
501 pub fn recv(sockfd: i32, buf: *mut u8, len: usize, flags: i32) -> isize; in recv() argument
505 sockfd: i32, in recvfrom() argument
508 flags: i32, in recvfrom() argument
514 pub fn send(sockfd: i32, buf: *const c_void, len: usize, flags: i32) -> isize; in send() argument
518 sockfd: i32, in sendto() argument
521 flags: i32, in sendto() argument
527 pub fn getpeername(sockfd: i32, addr: *mut sockaddr, addrlen: *mut socklen_t) -> i32; in getpeername() argument
530 pub fn getsockname(sockfd: i32, addr: *mut sockaddr, addrlen: *mut socklen_t) -> i32; in getsockname() argument
534 sockfd: i32, in getsockopt() argument
535 level: i32, in getsockopt() argument
536 optname: i32, in getsockopt() argument
539 ) -> i32; in getsockopt() argument
543 sockfd: i32, in setsockopt() argument
544 level: i32, in setsockopt() argument
545 optname: i32, in setsockopt() argument
548 ) -> i32; in setsockopt() argument
551 pub fn ioctl(sockfd: i32, cmd: i32, argp: *mut c_void) -> i32; in ioctl() argument
554 pub fn shutdown(sockfd: i32, how: i32) -> i32; in shutdown() argument
557 pub fn eventfd(initval: u64, flags: i16) -> i32; in eventfd() argument
560 pub fn poll(fds: *mut pollfd, nfds: nfds_t, timeout: i32) -> i32; in poll() argument