语言

Os.Poll(StructPollfd[], Int32) 方法

定义

请参阅投票(2)。

[Android.Runtime.Register("poll", "([Landroid/system/StructPollfd;I)I", "")]
public static int Poll(Android.Systems.StructPollfd[]? fds, int timeoutMs);
[<Android.Runtime.Register("poll", "([Landroid/system/StructPollfd;I)I", "")>]
static member Poll : Android.Systems.StructPollfd[] * int -> int

参数

fds
StructPollfd[]
timeoutMs
Int32

返回

特性

例外

注解

请参阅投票(2)。

请注意,在 Lollipop 中,这可能会引发一个 ErrnoException 。EINTR 在以后的版本中,实现会自动重启系统调用,并适当减少超时。

Java文档android.system.Os.poll(android.system.StructPollfd[], int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于