-APUE-:
ex11.1, modified version of fig11.4.