| 366 | } |
| 367 | |
| 368 | void *t_aligned_alloc(size_t alignment, size_t size) |
| 369 | { |
| 370 | void *ret; |
| 371 | |
| 372 | if (posix_memalign(&ret, alignment, size)) |
| 373 | return NULL; |
| 374 | |
| 375 | return ret; |
| 376 | } |
| 377 | |
| 378 | int t_create_socketpair_ip(struct sockaddr_storage *addr, |
| 379 | int *sock_client, int *sock_server, |
no outgoing calls