private serial_discardinbuffer ( RJCP.IO.Ports.Native.Unix.SafeSerialHandle handle ) : int | ||
handle | RJCP.IO.Ports.Native.Unix.SafeSerialHandle | |
리턴 | int |
public int serial_discardinbuffer(SafeSerialHandle handle) { int result = UnsafeNativeMethods.serial_discardinbuffer(handle); errno = Marshal.GetLastWin32Error(); return(result); }