streamWaitEvent

external fun streamWaitEvent(stream: Long, event: Long, flags: Int): Int