serial_setdiscardnull() 개인적인 메소드

private serial_setdiscardnull ( RJCP.IO.Ports.Native.Unix.SafeSerialHandle handle, bool discardnull ) : int
handle RJCP.IO.Ports.Native.Unix.SafeSerialHandle
discardnull bool
리턴 int
예제 #1
0
        public int serial_setdiscardnull(SafeSerialHandle handle, bool discardNull)
        {
            int result = UnsafeNativeMethods.serial_setdiscardnull(handle, discardNull);

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