Home

Summary

The book Solaris Application Programming was released January 2008.
Chinese language version released June 2008.

Publication details:

Pearson Media page: http://vig.prenhall.com/catalog/academic/product/0,1144,0138134553,00.html
Table of contents: http://vig.prenhall.com/catalog/academic/product/0,1144,0138134553-TOC,00.html
Preface: http://vig.prenhall.com/catalog/academic/product/0,1144,0138134553-PRE,00.html
Sample chapter: http://www.sun.com/books/documents/solaris_app_programming_ch04.pdf
Sun.com page: http://www.sun.com/books/catalog/solaris_app_programming.xml
Chinese version: http://www.china-pub.com/39965

Author details:

About the author: http://vig.prenhall.com/catalog/academic/product/0,1144,0138134553-ABI,00.html
Author's blog: http://blogs.sun.com/d/

Related wiki pages

Application Performance Tuning
Solaris Developer
Performance

Bibliography

Errata for first printing of the book

Page 190. Example 7.14 - The formatting is broken, it should look more like:

  (*((void(*)())dlsym(RTLD_NEXT, "exit")))(status);
}

double sin(double x) {

Page 186 Example 7.8 - The flag needs to be in quotes to avoid being interpreted by the shell

$ cc -o myapp -L. '-R$ORIGIN/../lib' -lmylib myapp.c

Page 335. Typo: "achive" should be "achieve".

Page 400. Example 12.28 is missing the following code:

#include <limits.h>

Clarifications

page 399.

"This minimum stack size is held in the PTHREAD_STACK_MIN constant, which is defined in limits.h."
Actually PTHREAD_STACK_MIN is a macro which is declared in limits.h as:

#define PTHREAD_STACK_MIN       ((size_t)_sysconf(_SC_THREAD_STACK_MIN))

It is available when limits.h is included and also the code is compiled with _POSIX_C_SOURCE=199506L (or greater) - meaning that the code requires at least POSIX.1c. To get all possible compatible extensions enabled __EXTENSIONS__ can be defined on the compile line. More details on standards can be found in the man pages (`man standards`)

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

© 2010, Oracle Corporation and/or its affiliates
Powered by Atlassian Confluence
Oracle Social Media Participation Policy Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact