XRGLOBALS(3X)

NAME
XrGlobals - the globally accessible data structure descriptions.

SYNOPSIS
#include <X/Xlib.h>
#include <Xr/Xrlib.h>

DESCRIPTION
Xrlib initializes the following set of globals variables which are used by Xrlib functions and can also be used by the application. None of these variables should be reset by the application or grave errors could result.
xrZeroPt - a POINT structure set to {0, 0}.
xrZeroRect - a RECTANGLE structure set to {0, 0, 0, 0}.
xrMalloc - the pointer to the malloc() function.
xrFree - the pointer to the free() function.
xrRealloc - the pointer to the realloc() function.
xrCalloc - the pointer to the calloc() function.
xrBaseFontInfo - Xrlib base font.
xrWindowForeground - Xrlib default window foreground tile.
xrWindowBackground - Xrlib default window background tile.
xrBorderWidth - Xrlib default window border width.
xrForegroundColor - Xrlib default window foreground color
xrBackgroundColor - Xrlib default window background color
xrDefaultCursor - Xrlib default cursor.
Xrlib also defines an error variable, xrErrno which is set to an error code by Xrlib functions when the functions fail.

SEE ALSO
XrInit(3X), xrErrno(3X)