-APUE-:
fig14.19, copy standard input to standart output using getmsg.
-APUE-:
ch14.5, test select(), code from manpage.