serial_close() private method

private serial_close ( RJCP.IO.Ports.Native.Unix.SafeSerialHandle handle ) : int
handle RJCP.IO.Ports.Native.Unix.SafeSerialHandle
return int
Exemplo n.º 1
0
        public int serial_close(SafeSerialHandle handle)
        {
            int result = UnsafeNativeMethods.serial_close(handle);

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