libsimpleioLINUX_poll Method |
Wait for an event on one or more files.
Namespace: IO.BindingsAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax public static void LINUX_poll(
int numfiles,
int[] files,
int[] events,
int[] results,
int timeoutms,
out int error
)
Parameters
- numfiles Int32
- Number elements in each of the
following arrays.
- files Int32
- File descriptors.
- events Int32
- Events to wait for on each file
descriptor.
- results Int32
- Events that occurred on each file
descriptor.
- timeoutms Int32
- Milliseconds to wait for an event
to occur. A value of -1 means wait forever and a value
of 0 means do not wait at all.
- error Int32
- Error code.
See Also