XMaxRequestSize() XMaxRequestSize()
Name
XMaxRequestSize - get maximum request size supported by server.
Synopsis
long XMaxRequestSize(display)
Display *display;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
Returns
The maximum request size in 4-byte units.
Description
XMaxRequestSize() returns the maximum request size (in 4-byte units) supported by the server. Single protocol requests to the server can
be no longer than this size. The protocol guarantees the size to be no smaller than 4096 units (16384 bytes). Xlib automatically breaks
data up into multiple protocol requests as necessary for the following functions: XDrawPoints(), XDrawRectangles(), XDrawSegments(), XFil-
lArcs(), XFillRectangles(), and XPutImage(). Xlib does not break up data for XDrawArcs(), XDrawLines(), or XFillPolygon().
There is no macro MaxRequestSize().
See Also
XDrawArcs(), XDrawLines(), XFillPolygon().
Xlib - Drawing Primitives XMaxRequestSize()