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 135
from the top to middle of page |
This page includes an example of a file-listing program, which uses the
stat() function to write file information to a variable struct "st."
Calls made to elements of struct "st" are written here as
st->{item} i.e. st->st_blocks
This causes the compiler to fail due to a syntactical error; since "st" is
a variable type struct, and not a pointer to variable type struct, the calls
should be written as
st.{item} i.e. st.st_blocks
So, long story short: on page 135, all "st->{something}" should be replaced
with "st.{something}"
|
Anonymous |
|
Printed |
Page 174
Last paragraph |
"The daylight variable is non-zero if DST is in effect, zero otherwise"
This gives the impression that the daylight variable can be used in the
same was as the tm_isdst variable in a "tm" structure.
This incorrect, rather :
The daylight variable is non-zero if an alternate zone *exists* in
the current set timezone. ( e.g daylight is ALWAYS non-zero for TZ=EST5EDT )
|
Anonymous |
|
Printed |
Page 248
below Handling Signals title |
it says that the prototype of signal function is:
void (*signal( int sig ,void( *disp)(int)))(int);
I think that it should be:
void (*signal( int sig ,void( *disp)(int)))();
This is the way it is in the man page on my machine.
|
Anonymous |
|
Printed |
Page 386
|
In the section on Semaphores, a sentence reads:
"If key contains a non-zero value, msgget will either create...."
"msgget"
should be
"semget"
|
Anonymous |
|