NAME
XImageByteOrder, ImageByteOrder — get server’s byte order.
SYNOPSIS
int XImageByteOrder(display)
Display ∗display;
ARGUMENTS
displaySpecifies a connection to an X server; returned from XOpenDisplay().
RETURNS
LSBFirst or MSBFirst.
DESCRIPTION
XImageByteOrder() specifies the required byte order for images for each scanline unit in XY format (bitmap) or for each pixel value in Z format. It can return either LSBFirst or MSBFirst.
The C language macro ImageByteOrder() is equivalent and slightly more efficient.
SEE ALSO
XGetImage(), XPutImage().
Xlib Reference Manual