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

Alan Coopersmith alan.coopersmith at oracle.com
Fri Jun 7 09:30:58 PDT 2013


On 06/ 7/13 02:00 AM, ZHANG Zhaolong wrote:
> 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

Yes, that seems to be an error introduced when we converted the source
format from troff to docbook/xml - thanks for pointing this out to us.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list