xosd_scroll — Scroll the XOSD window
#include <xosd.h>
int xosd_scroll(xosd *osd, int lines);
xosd_scroll is called to scroll the XOSD window up so the bottom lines are blank. The number of lines that can be scrolled cannot be greater than the total number of lines in a XOSD window, which is set when the window is created by xosd_create(3xosd), and cannot be changed.
On success, a zero is returned. On error, -1 is returned and xosd_error is set to indicate the reason for the error.