serial_setdtr() private method

private serial_setdtr ( RJCP.IO.Ports.Native.Unix.SafeSerialHandle handle, bool dtr ) : int
handle RJCP.IO.Ports.Native.Unix.SafeSerialHandle
dtr bool
return int
Ejemplo n.º 1
0
        public int serial_setdtr(SafeSerialHandle handle, bool dtr)
        {
            int result = UnsafeNativeMethods.serial_setdtr(handle, dtr);

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