serial_init() private method

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

            errno = Marshal.GetLastWin32Error();
            return(result);
        }
Exemplo n.º 2
0
        public IntPtr serial_init()
        {
            IntPtr result = UnsafeNativeMethods.serial_init();

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