
Editor-in-Chief Michael Hirsch
Acquisitions Editor Matt Goldstein
Editorial Assistant Sarah Milmore
Managing Editor Jeffrey Holcomb
Production Supervisor Heather McNally
Art Director Linda Knowles
Cover Designer Elena Sidorova
Cover Image AbleStock / Index Open
Online Product Manager Bethany Tidd
Marketing Manager Erin Davis
Marketing Coordinator Kathryn Ferranti
Senior Manufacturing Buyer Carol Melville
Production Coordination, Text Design, and Composition Windfall Software
Copyediting Yonie Overton
Proofreading Rick Camp
Indexing Ted Laux
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks.
Where those designations appear in this book, and Addison-Wesley was aware of a trademark claim, the designations
have been printed in initial caps or all caps.
The programs and applications presented in this book have been included for their instructional value. They have been
tested with care, but are not guaranteed for any particular purpose. The publisher does not offer any warranties or
representations, nor does it accept any liabilities with respect to the programs or applications.
This interior of this book was composed in Minion and Stone Sans using the ZzT
E
X typesetting system.
Library of Congress Cataloging-in-Publication Data
Hoover, Adam.
System programming with C and Unix / Adam Hoover.—1st ed.
p. cm.
Includes index.
ISBN-13: 978-0-13-606712-2 (alk. paper)
ISBN-10: 0-13-606712-3
1. Systems programming (Computer science). I. Title.
QA76.66.H66 2009
005.4
2—dc22
2008052700
Copyright © 2010 Pearson Education, Inc. All rights reserved. No part of this publication may be reproduced, stored
in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or
otherwise, without the prior written permission of the publisher. Printed in the United States of America. For information
on obtaining permission for use of material in this work, please submit a written request to Pearson Education, Inc., Rights
and Contracts Department, 501 Boylston Street, Suite 900, Boston, MA 02116, fax your request to (617) 671-3447, or
e-mail at http://www.pearsoned.com/legal/permissions.htm.
ISBN-13: 978-0-13-606712-2
ISBN-10: 0-13-606712-3
www.pearsonhighered.com 12345678910—DOH—13 12 11 10 09
评论3