serial_getbaud() private method

private serial_getbaud ( RJCP.IO.Ports.Native.Unix.SafeSerialHandle handle, int &baud ) : int
handle RJCP.IO.Ports.Native.Unix.SafeSerialHandle
baud int
return int
Esempio n. 1
0
        public int serial_getbaud(SafeSerialHandle handle, out int baud)
        {
            int result = UnsafeNativeMethods.serial_getbaud(handle, out baud);

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