Errata

XLIB Programming Manual, Rel. 5

Errata for XLIB Programming Manual, Rel. 5

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 85
line 90

XCreateBitmapFromData takes argument icon_bitmap_bits which is
const char *. Need to coerce with (const char *).

Anonymous   
Printed Page 94
Definition of XSetWindowAttributes structure

I have the July 1993 printing.

The member of the XSetWindowAttributes structure defined as

unsigned long backing_bitplanes;

should be

unsigned long backing_planes;

Anonymous   
Printed Page 595
In the program code, the function definition for

XDrawPoint is not valid C syntax as in ANSI C. You cannot
return a function (as opposed to function pointer)from a
function. Also, the calls to LockDisplay and FlushGC within
the function have the same superfluous set of round brackets.
If you don't believe me try compiling the code and watch every
ANSI compiler you try it on choke.

Anonymous