serial_getparity() private method

private serial_getparity ( 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_getparity(SafeSerialHandle handle, out Parity parity)
        {
            int result = UnsafeNativeMethods.serial_getparity(handle, out parity);

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