Function pros_sys::screen::screen_scroll

source ·
pub unsafe extern "C" fn screen_scroll(
    start_line: i16,
    lines: i16
) -> u32
Expand description

Scroll lines on the display upwards.

This function uses the following values of errno when an error state is reached: EACCESS - Another resource is currently trying to access the screen mutex.

\param start_line The line from which scrolling will start \param lines The number of lines to scroll up

\return 1 if there were no errors, or PROS_ERR if an error occured taking or returning the screen mutex.