serial_close() 개인적인 메소드

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

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