serial_setbaud() private method

private serial_setbaud ( 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_setbaud(SafeSerialHandle handle, int baud)
        {
            int result = UnsafeNativeMethods.serial_setbaud(handle, baud);

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