Wrox Home  
Search

Topic: Open Source

Beginning Linux® Programming, 3rd Edition (0764544977) cover image

Beginning Linux® Programming, 3rd Edition

Neil Matthew, Richard Stones, Alan Cox (Foreword by)
ISBN: 978-0-7645-4497-2
Paperback
888 pages
January 2004
View Most Recent Edition of This Title
This title is out-of-print and not currently available for purchase from this site.


Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
7 Error in Code
$ cat hello.c
#include <stdio.h>

int main()
{
printf("Hello World\n");
exit(0);
}
$

Should be:

$ cat hello.c
#include <stdio.h>
#include <stdlib.h>

int main()
{
printf("Hello World\n");
exit(0);
}
$
10/11/05
13 Error in text
The .so libraries correspond to .DLL files and are required at run time, while the .sa libraries are similar to .LIB files included in the program exevutable.

Should be:

The .so libraries correspond to .DLL files and are required at run time, while the .a libraries are similar to .LIB files included files included in the program exevutable.
7/19/05
38 Error in Variable
Under "Try It Out --for Loop with Wildcard Expansion":
last sentence in the second paragraph reads:
Each of these in turn is used as the variable $i inside the for loop.

should be:
Each of these in turn is used as the variable $file inside the for loop.
02/10/07
199 Error in sample program
The sample program on page 199 is in error, there should be no "(int *)" on the affected line.
The line: tputs(clear, 1, (int *) char_to_terminal);
should read: tputs(clear, 1, char_to_terminal);
12/1/04
243-244 Error in Try It Out
Try It Out - Querying the CD Database section:
the find_cd method has the following three lines interspersed in the logic:
if (found == strstr(catalog, ",")) {
if (found == strstr(title, ",")) {
if (found == strstr(title, match)) {

In all these lines the comparison operator (==) should be replaced with the assignment operator (=) for the code to work properly.
03/12/07
237 Error in Try It Out
In the Try It Out - The Menu section:
the draw_menu method increments the txt_ptr in the while loop.

This line (txt_ptr++) should be deleted, because it causes the truncation of the first character in every option line when the menu is displayed.
03/12/07
301 Error in Text
In Makefile logic:
access.c and access.o

should be:
cd_access.c and cd_access.o.
04/06/07
313 New Heading
Second paragraph:
requires new heading after first section:
"mysqldump"
8-14-06
Printer-Ready Version   Share This
With you wherever you go: pdf + ePub + kindle -- DRM-free

Bonus Material