所需积分/C币:50 2018-10-13 12:09:23 7.13MB PDF
收藏 收藏 5

PRAISE FOR THE LINUX PROGRAMMING INTERFACE If I had to choose a single book to sit next to my machine when writing software for linux. this would be it -MARTIN LANDERS. SOFTWARE ENGINEER. GOOGLE This book, with its detailed descriptions and examples, contains everything you need to understand the details and nuances of the low-level programming APIs in Linux. no matter what the level of reader, there will be something to bc learnt from this book -MEL GORMAN, AUTHOR OF Understanding the linux virtual memory manager Michael Kerrisk has not only written a great book about Linux prograillnling and how it relates to various standards but has also taken care that bugs he noticed got fixed and the man pages were(greatly) improved. In all three ways, he has made linux programming easier. The in-depth treatment of topics in The linux programming interface.. makes it a must-have reference for both new and experienced linux programmers -ANDREAS JAEGER, PROGRAM MANAGER, OPENSUSE, NOVElL Michacl's inexhaustible dctermination to gct his information right, and to express it clearly and concisely, has resulted in a strong reference source for programmers. While this work is targeted at Linux programmers, it will be of value to any programmer working in the UNiX /POSiX ecosystem. -DAVID BUTENHOF, AUTHOR OF Programming with POSIX Threads anD CONTRIBUTOR TO THE POSIX AND UNIX STANDARDS a very thorough -yet easy to read--explanation of uniX system and network programming, with an emphasis on Linux systems. It's certainly a book I'd recommend to anybody wanting to get into UNIX programming (in general) or to experienced uNiX programmers wanting to know what's new'in the popular GNU/Linux system FERNANDO GONT NETWORK SECURITY RESEARCHER, IETF PARTICIPANT AND RFC AUTHOR encyclopedic in the breadth and depth of its coverage, and textbook like in its wealth of worked examples and exercises. Each topic is clearly and comprehensively covered, from theory to hands-on working code Professionals, students, educators, this is the Linux/UNIX reference that you have been waiting for. -ANTHONY ROBINS. ASSOCIATE PROFESSOR OF COMPUTER SCIENCE. THE L NIVERSITY OF OTAGO I've been very impressed by the precision, the quality and the level of detail Michael Kerrisk put in his book. He is a great expert of linux system calls and lets us share his knowledge and understanding of the Linux APIs -CHRISTOPHE BLAESS, AUTHOR OF Programmation systeme en C sous linux an essential resource for the serious or professional linux and CNIX systems programmer. Michael kerrisk covers the use of all the key APIs across both the Linux and uniX system interfaces with clear descriptions and tutorial cxamples and stresses thc importancc and bcncfits of following standards such as the Single UNIX Specification anld POSIX 1008. 1 -ANDREW JOSEY, DIRECTOR, STANDARDS, THE OPEN GROUP, AND CHAIR OF THE POSIX 1003. WORKING GROUP What could be better than an encyclopedic reference to the linux system, from the standpoint of the system programmer, written by none other than he maintainer of the man pages himself? The linux programming Interface is comprehensive and detailed. I firmly expect it to become an indispensable ddition to my programming bookshelf. -BILL GALLMEISTER, AUTHOR OF POSIX. 4 Programmer's Guide Programming for the real world the most complete and up-to-date book about Linux and uniX system programming. If you' re new to Linux system programming, if you're a UNIX veteran focused on portability while interested in learning the Linux way, or if you're simply looking for an excellent reference about the Linux pro- gramming interface, then Michael Kerrisk's book is definitely the companion you want on your bookshelf -loic DomaiGne, cHief SoftWare ArchItecT (eMbeddEd), CorpUls.cOm THE LINUX PROGRAMMING INTERFACE A Linux and UNIX System Programming Handbook MICHAEL KERRISK no starch press San francisco THE LINUX PROGRAMMING INTERFACE. Copyright@ 2010 by Michael Kerrisk All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying rding, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher 1413121110 123456789 ISBN-10:1-59327-220-0 ISBN-13:978-1-59327-220-3 topod studie Front Cover photo: Rob suited Copyeditor: Marilyn Smith Compositor: Susan Glinert Stevens Proofreader: Linda seifert For technical reviewers, please refer to the author's acknowledgements For information on book distributors or translations, please contact No Starch Press, Inc. directly No Starch Press. Inc. 8 Ringold Street, San Francisco, Ca 94103 phone415.863.9900;fax:415.863.9950;; Library of Cataloging-in-Pah Dat The Linux programming interface: a Linux ard UNIX system programming handbook by michael Kerrisk Includes bibliographical referenc TSN-13:978-1-5937-70-3( hardcover) ISBN-10: 1-5932/-220-0(hardcover 1. Linux. 2. UNIX(CumpuLer file)3. Operaling sysLems (CompuTers) I. Tille A76.76.053K4962010 Co5.432-dc22 201000-947 No Starch Press and the No Starch Press logo are registered trademarks of No Starch Iress, Inc. Other product and company namcs mentioncd hcrcin may bc the trademarks of thcir rcspcctivc owners Rathcr than usc a trademark symbol with every occurrence of a trademarked name, we are using the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark UNIX is a registered trademark of The Open Group Thc information in this book is distributcd on an"As Is"basis, without warranty. Whilc cvcry precaution has bccn taken in the preparation of this work, neither the author nor No starch Press, Inc shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in it This logo applies only to the text stock For Cecilia, who lights up my world BRIEF CONTENTS Chapter 1: History and Standards Chapter 2: Fundamental Concepts 21 Chapter 3: System Programming Concepts 43 Chapter 4: File I/O: The Universal I/O Model ··· 69 Chapter 5: File I/O: Further details 89 Chapter 6: Processes 113 Chapter 7: ocation 139 Users and Groups… 153 Chapter 9: Process Credentials ····*·······*··············.···:···················· 167 Chapter10:Time…… .…185 Chapter 1 1: S ystem Limits and options Chapter 12: System and Process Information 223 Chapter 13: File l/O Buffering ..233 Chapter 14: File Systems 25 Chapter 15: File Attributes 279 Chapter 16: Extended Attributes 311 Chapter 17: Access Control Lists 319 Chapter 18: Directories and Links 339 Chapter19: Monitoring File Events…… 375 Chapter 20: Signals: Fundamental Concepts 387 ignals : Signal Handlers 421 Chapter 22: Signals: Advanced Features 447 Chapter 23 Timers and Sleeping 479 apter 24: Process Creation 513 Chapter 25 Process Termination 531 Chapter 26: Monitoring Child Processes 541 Chapter 27: Program Execution 563 Chapter 28: Process Creation and Program Execution in More Detail 591 Chapter 29: Threads: Introduction 617 Chapter 30: Threads: Thread Synchronization 631 Chapter 3 1: Threads: Thread Safety and Per-Thread Storage 655 Chapter 32: Threads: Thread Cancellation 671 Chapter 33: Threads: Further Details 681 Chapter 3 4: Process Groups, Sessions, and Job Control .699 Chapter 35: Process Priorities and Scheduling 733 Chapter 36 Process R 753 Chapter37: Daemons………..…… 767 Chapter 3 8: Writing Secure Privileged Programs 783 Chapter 39: Capabilitie 797 Chapter 40: Login accounting 817 Chapter 41: Fundamentals of Shared Libraries .833 Chapter 42: Advanced Features of Shared Libraries 859 Chapter 43: Interprocess Communication Overview 877 Chapter 44: Pipes and FIFOs...... 889 Chapter 45: Introduction to System V IPC 921 Chapter 46: System Message Queues ,937

试读 127P Linux/Unix系统编程手册英文版
立即下载 低至0.43元/次 身份认证VIP会员低至7折
    赵广陆 还是外国文献看着舒服!
    鲛人泣珠 原汁原味,非常感谢作者!
    qweradzxc 好评,英文原版,有目录,非扫描,所需积分少
    注水西瓜 5星好评,好东西。非扫描的,文字版本的。感谢分享。中文版的翻印有很大的问题

    关注 私信 TA的资源

    Linux/Unix系统编程手册英文版 50积分/C币 立即下载


    50积分/C币 立即下载 >