serial_waitforevent() private method

private serial_waitforevent ( RJCP.IO.Ports.Native.Unix.SafeSerialHandle handle, SerialReadWriteEvent rwevent, int timeout ) : SerialReadWriteEvent
handle RJCP.IO.Ports.Native.Unix.SafeSerialHandle
rwevent SerialReadWriteEvent
timeout int
return SerialReadWriteEvent
Esempio n. 1
0
        public SerialReadWriteEvent serial_waitforevent(SafeSerialHandle handle, SerialReadWriteEvent rwevent, int timeout)
        {
            SerialReadWriteEvent result = UnsafeNativeMethods.serial_waitforevent(handle, rwevent, timeout);

            errno = Marshal.GetLastWin32Error();
            return(result);
        }