serial_setparity() private method

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

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