serial_getrts() private method

private serial_getrts ( 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_getrts(SafeSerialHandle handle, out bool rts)
        {
            int result = UnsafeNativeMethods.serial_getrts(handle, out rts);

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