serial_init() private method

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

            errno = Marshal.GetLastWin32Error();
            return(result);
        }
Beispiel #2
0
        public IntPtr serial_init()
        {
            IntPtr result = UnsafeNativeMethods.serial_init();

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