serial_setrts() private method

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

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