serial_open() private method

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

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