serial_getdatabits() private method

private serial_getdatabits ( RJCP.IO.Ports.Native.Unix.SafeSerialHandle handle, int &databits ) : int
handle RJCP.IO.Ports.Native.Unix.SafeSerialHandle
databits int
return int
Beispiel #1
0
        public int serial_getdatabits(SafeSerialHandle handle, out int databits)
        {
            int result = UnsafeNativeMethods.serial_getdatabits(handle, out databits);

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