serial_setparityreplace() private method

private serial_setparityreplace ( RJCP.IO.Ports.Native.Unix.SafeSerialHandle handle, int parityReplace ) : int
handle RJCP.IO.Ports.Native.Unix.SafeSerialHandle
parityReplace int
return int
示例#1
0
        public int serial_setparityreplace(SafeSerialHandle handle, int parityReplace)
        {
            int result = UnsafeNativeMethods.serial_setparityreplace(handle, parityReplace);

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