serial_getstopbits() private method

private serial_getstopbits ( RJCP.IO.Ports.Native.Unix.SafeSerialHandle handle, StopBits &stopbits ) : int
handle RJCP.IO.Ports.Native.Unix.SafeSerialHandle
stopbits StopBits
return int
示例#1
0
        public int serial_getstopbits(SafeSerialHandle handle, out StopBits stopbits)
        {
            int result = UnsafeNativeMethods.serial_getstopbits(handle, out stopbits);

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