serial_setdevicename() 개인적인 메소드

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

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