serial_setdiscardnull() private method

private serial_setdiscardnull ( RJCP.IO.Ports.Native.Unix.SafeSerialHandle handle, bool discardnull ) : int
handle RJCP.IO.Ports.Native.Unix.SafeSerialHandle
discardnull bool
return int
Esempio n. 1
0
        public int serial_setdiscardnull(SafeSerialHandle handle, bool discardNull)
        {
            int result = UnsafeNativeMethods.serial_setdiscardnull(handle, discardNull);

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