serial_getcts() private method

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

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