| 705 | } |
| 706 | |
| 707 | static struct timeval *init_timeval( double f, struct timeval *t ) { |
| 708 | if (f<0) |
| 709 | return 0; |
| 710 | t->tv_usec = (int)( (f - (int)f ) * 1000000 ); |
| 711 | t->tv_sec = (int)f; |
| 712 | return t; |
| 713 | } |
| 714 | |
| 715 | /** |
| 716 | socket_select : read : 'socket array -> write : 'socket array -> others : 'socket array -> timeout:number? -> 'socket array array |
no outgoing calls
no test coverage detected