| | |
| | | int shm_sendandrecv(shm_socket_t *socket, const void *send_buf, |
| | | const int send_size, const int send_key, void **recv_buf, |
| | | int *recv_size, struct timespec *timeout, int flags) { |
| | | return shm_sendandrecv_unsafe(socket, send_buf, send_size, send_key,recv_buf, recv_size, timeout, flags); |
| | | return shm_sendandrecv_safe(socket, send_buf, send_size, send_key,recv_buf, recv_size, timeout, flags); |
| | | } |
| | | |
| | | |
| | |
| | | int |
| | | main(void) |
| | | { |
| | | |
| | | int a = random32(); |
| | | printf("%d, %d , %d\n", SIGRTMIN, SIGRTMAX, SIGCLOSE1); |
| | | /* SIGQUIT here will terminate with core file */ |
| | | } |