serial_getdiscardnull() private method

private serial_getdiscardnull ( 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_getdiscardnull(SafeSerialHandle handle, out bool discardNull)
        {
            int result = UnsafeNativeMethods.serial_getdiscardnull(handle, out discardNull);

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