serial_setbreak() private method

private serial_setbreak ( RJCP.IO.Ports.Native.Unix.SafeSerialHandle handle, bool breakState ) : int
handle RJCP.IO.Ports.Native.Unix.SafeSerialHandle
breakState bool
return int
Example #1
0
        public int serial_setbreak(SafeSerialHandle handle, bool breakState)
        {
            int result = UnsafeNativeMethods.serial_setbreak(handle, breakState);

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