serial_getbreak() private method

private serial_getbreak ( RJCP.IO.Ports.Native.Unix.SafeSerialHandle handle, bool &breakState ) : int
handle RJCP.IO.Ports.Native.Unix.SafeSerialHandle
breakState bool
return int
Exemplo n.º 1
0
        public int serial_getbreak(SafeSerialHandle handle, out bool breakState)
        {
            int result = UnsafeNativeMethods.serial_getbreak(handle, out breakState);

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