serial_init() 개인적인 메소드

private serial_init ( ) : RJCP.IO.Ports.Native.Unix.SafeSerialHandle
리턴 RJCP.IO.Ports.Native.Unix.SafeSerialHandle
예제 #1
0
        public SafeSerialHandle serial_init()
        {
            SafeSerialHandle result = UnsafeNativeMethods.serial_init();

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

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