A clerical error in the document "Xlib - C Language X Interface X11R7.7"

ZHANG Zhaolong zhangzl2013 at 126.com
Fri Jun 7 02:00:11 PDT 2013


hi,
In this page: http://www.x.org/releases/X11R7.7/doc/libX11/libX11/libX11.html#Image_Format_Functions_and_Macros

     To obtain the pixmap format information for a given display, use XListPixmapFormats. 
-    ImageByteOrder(display)
-      int XImageByteOrder(Display *display, int *count_return);
-        display           Specifies the connection to the X server.
-        count_return  Returns the number of (Cn.
     The XListPixmapFormats function returns an array of XPixmapFormatValues structures that describe the types of Z format

should be:

     To obtain the pixmap format information for a given display, use XListPixmapFormats. 
+    XPixmapFormatValues(Display *display, int *count_return)
+      XPixmapFormatValues *XListPixmapFormats(Display *display, int *count_return);
+        display           Specifies the connection to the X server.
+        count_return  Returns the number of pixmap formats that are supported by the display.
     The XListPixmapFormats function returns an array of XPixmapFormatValues structures that describe the types of Z format

Regards
--
ZHANG Zhaolong


More information about the xorg-devel mailing list