serial_setparity() 개인적인 메소드

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

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