没有合适的资源?快使用搜索试试~ 我知道了~
UNIX环境高级编程(原版_英文版)
3星 · 超过75%的资源 需积分: 9 10 下载量 76 浏览量
2011-04-20
19:27:39
上传
评论
收藏 10.49MB PDF 举报
温馨提示
试读
1232页
"Stephen Rago's update is a long overdue benefit to the community of professionals using the versatile family of UNIX and UNIX-like operating environments. It removes obsolescence and includes newer developments. It also thoroughly updates the context of all topics, examples, and applications to recent releases of popular implementations of UNIX and UNIX-like environments. And yet, it does all this while retaining the style and taste of the original classic."--Mukesh Kacker, cofounder and former CTO of Pronto Networks, Inc."One of the essential classics of UNIX programming."
资源推荐
资源详情
资源评论
Advanced Programming in the UNIX® Environment: Second Editio n
By W. Richard Steven s , Stephen A. Rag o
...............................................
Publisher: Addison Wesley Professional
Pub Date: June 17, 2005
ISBN: 0201433079
Pages: 960
Table of Contents | Index
"Stephen Rago's update is a long overdue benefit to the community of professionals using the versatile family of UNIX and UNIX-lik e
operating environments. It removes obsolescence and includes newer developments. It also thoroughly updates the context of al l
topics, examples, and applications to recent releases of popular implementations of UNIX and UNIX-like environments. And yet, it doe s
all this while retaining the style and taste of the original classic."--Mukesh Kacker, cofounder and former CTO of Pronto Networks ,
Inc."One of the essential classics of UNIX programming."--Eric S. Raymond, author of The Art of UNIX Programming"This is th e
definitive reference book for any serious or professional UNIX systems programmer. Rago has updated and extended the classi c
Stevens text while keeping true to the original. The APIs are illuminated by clear examples of their use. He also mentions many of th e
pitfalls to look out for when programming across different UNIX system implementations and points out how to avoid these pitfalls usin g
relevant standards such as POSIX 1003.1, 2004 edition and the Single UNIX Specification, Version 3."--Andrew Josey, Director ,
Certification, The Open Group, and Chair of the POSIX 1003.1 Working Group"Advanced Programming in the UNIX® Environment ,
Second Edition, is an essential reference for anyone writing programs for a UNIX system. It's the first book I turn to when I want t o
understand or re-learn any of the various system interfaces. Stephen Rago has successfully revised this book to incorporate newe r
operating systems such as GNU/Linux and Apple's OS X while keeping true to the first edition in terms of both readability an d
usefulness. It will always have a place right next to my computer."--Dr. Benjamin Kuperman, Swarthmore CollegePraise for the Firs t
Edition"Advanced Programming in the UNIX® Environment is a must-have for any serious C programmer who works under UNIX. It s
depth, thoroughness, and clarity of explana-tion are unmatched."--UniForum Monthly"Numerous readers recommended Advance d
Programming in the UNIX® Environment by W. Richard Stevens (Addison-Wesley), and I'm glad they did; I hadn't even heard of thi s
book, and it's been out since 1992. I just got my hands on a copy, and the first few chapters have been fascinating."--Open System s
Today"A much more readable and detailed treatment of UNIX internals can be found in Advanced Programming in the UNIX ®
Environment by W. Richard Stevens (Addison-Wesley). This book includes lots of realistic examples, and I find it quite helpful when I
have systems programming tasks to do."--RS/Magazine"This is the definitive reference book for any serious or professional UNI X
systems programmer. Rago has updated and extended the original Stevens classic while keeping true to the original."--Andrew Josey ,
Director, Certification, The Open Group, and Chair of the POSIX 1003.1 Working GroupFor over a decade, serious C programmer s
have relied on one book for practical, in-depth knowledge of the programming interfaces that drive the UNIX and Linux kernels: W .
Richard Stevens' Advanced Programming in the UNIX® Environment. Now, Stevens' colleague Stephen Rago has thoroughly update d
this classic to reflect the latest technical advances and add support for today's leading UNIX and Linux platforms.Rago carefully retain s
the spirit and approach that made this book a classic. Building on Stevens' work, he begins with basic topics such as files, directories ,
and processes, carefully laying the groundwork for understanding more advanced techniques, such as signal handling and termina l
I/O.Substantial new material includes chapters on threads and multithreaded programming, using the socket interface to driv e
interprocess communication (IPC), and extensive coverage of the interfaces added to the latest version of the POSIX.1 standard .
Nearly all examples have been tested on four of today's most widely used UNIX/Linux platforms: FreeBSD 5.2.1; the Linux 2.4.2 2
kernel; Solaris 9; and Darwin 7.4.0, the FreeBSD/Mach hybrid underlying Apple's Mac OS X 10.3.As in the first edition, you'll lear n
through example, including more than 10,000 lines of downloadable, ANSI C source code. More than 400 system calls and function s
are demonstrated with concise, complete programs that clearly illustrate their usage, arguments, and return values. To tie togethe r
what you've learned, the book presents several chapter-length case studies, each fully updated for contemporar y
environments.Advanced Programming in the UNIX® Environment has helped a generation of programmers write code with exceptiona l
power, performance, and reliability. Now updated for today's UNIX/Linux systems, this second edition will be even more indispensable .
This document was created by an unregistered ChmMagic, please go to http://www.bisenter.com to register it. Thanks .
Advanced Programming in the UNIX® Environment: Second Editio n
By W. Richard Steven s , Stephen A. Rag o
...............................................
Publisher: Addison Wesley Professional
Pub Date: June 17, 2005
ISBN: 0201433079
Pages: 960
Table of Contents | Index
Copyright
Praise for Advanced Programming in the UNIX® Environment, Second Editio n
Praise for the First Edition
Addison-Wesley Professional Computing Series
Foreword
Preface
Introduction
Changes from the First Edition
Acknowledgments
Preface to the First Edition
Introduction
Unix Standards
Organization of the Book
Examples in the Text
Systems Used to Test the Examples
Acknowledgments
Chapter 1. UNIX System Overvie w
Section 1.1. Introductio n
Section 1.2. UNIX Architectur e
Section 1.3. Logging I n
Section 1.4. Files and Directorie s
Section 1.5. Input and Outpu t
Section 1.6. Programs and Processe s
Section 1.7. Error Handlin g
Section 1.8. User Identificatio n
Section 1.9. Signal s
Section 1.10. Time Value s
Section 1.11. System Calls and Library Function s
Section 1.12. Summar y
Exercises
Chapter 2. UNIX Standardization and Implementation s
Section 2.1. Introductio n
Section 2.2. UNIX Standardizatio n
Section 2.3. UNIX System Implementation s
Section 2.4. Relationship of Standards and Implementation s
Section 2.5. Limit s
Section 2.6. Option s
Section 2.7. Feature Test Macro s
Section 2.8. Primitive System Data Type s
This document was created by an unregistered ChmMagic, please go to http://www.bisenter.com to register it. Thanks .
Section 2.9. Conflicts Between Standard s
Section 2.10. Summar y
Exercises
Chapter 3. File I/ O
Section 3.1. Introductio n
Section 3.2. File Descriptor s
Section 3.3. open Functio n
Section 3.4. creat Functio n
Section 3.5. close Functio n
Section 3.6. lseek Functio n
Section 3.7. read Functio n
Section 3.8. write Functio n
Section 3.9. I/O Efficienc y
Section 3.10. File Sharin g
Section 3.11. Atomic Operation s
Section 3.12. dup and dup2 Function s
Section 3.13. sync, fsync, and fdatasync Function s
Section 3.14. fcntl Functio n
Section 3.15. ioctl Functio n
Section 3.16. /dev/f d
Section 3.17. Summar y
Exercises
Chapter 4. Files and Directorie s
Section 4.1. Introductio n
Section 4.2. stat, fstat, and lstat Function s
Section 4.3. File Type s
Section 4.4. Set-User-ID and Set-Group-I D
Section 4.5. File Access Permission s
Section 4.6. Ownership of New Files and Directorie s
Section 4.7. access Functio n
Section 4.8. umask Functio n
Section 4.9. chmod and fchmod Function s
Section 4.10. Sticky Bi t
Section 4.11. chown, fchown, and lchown Function s
Section 4.12. File Siz e
Section 4.13. File Truncatio n
Section 4.14. File System s
Section 4.15. link, unlink, remove, and rename Function s
Section 4.16. Symbolic Link s
Section 4.17. symlink and readlink Function s
Section 4.18. File Time s
Section 4.19. utime Functio n
Section 4.20. mkdir and rmdir Function s
Section 4.21. Reading Directorie s
Section 4.22. chdir, fchdir, and getcwd Function s
Section 4.23. Device Special File s
Section 4.24. Summary of File Access Permission Bit s
Section 4.25. Summar y
Exercises
Chapter 5. Standard I/O Librar y
Section 5.1. Introductio n
Section 5.2. Streams and FILE Object s
This document was created by an unregistered ChmMagic, please go to http://www.bisenter.com to register it. Thanks .
Section 5.3. Standard Input, Standard Output, and Standard Erro r
Section 5.4. Bufferin g
Section 5.5. Opening a Strea m
Section 5.6. Reading and Writing a Strea m
Section 5.7. Line-at-a-Time I/ O
Section 5.8. Standard I/O Efficienc y
Section 5.9. Binary I/ O
Section 5.10. Positioning a Strea m
Section 5.11. Formatted I/ O
Section 5.12. Implementation Detail s
Section 5.13. Temporary File s
Section 5.14. Alternatives to Standard I/ O
Section 5.15. Summar y
Exercises
Chapter 6. System Data Files and Informatio n
Section 6.1. Introductio n
Section 6.2. Password Fil e
Section 6.3. Shadow Password s
Section 6.4. Group Fil e
Section 6.5. Supplementary Group ID s
Section 6.6. Implementation Difference s
Section 6.7. Other Data File s
Section 6.8. Login Accountin g
Section 6.9. System Identificatio n
Section 6.10. Time and Date Routine s
Section 6.11. Summar y
Exercises
Chapter 7. Process Environmen t
Section 7.1. Introductio n
Section 7.2. main Functio n
Section 7.3. Process Terminatio n
Section 7.4. Command-Line Argument s
Section 7.5. Environment Lis t
Section 7.6. Memory Layout of a C Progra m
Section 7.7. Shared Librarie s
Section 7.8. Memory Allocatio n
Section 7.9. Environment Variable s
Section 7.10. setjmp and longjmp Function s
Section 7.11. getrlimit and setrlimit Function s
Section 7.12. Summar y
Exercises
Chapter 8. Process Contro l
Section 8.1. Introductio n
Section 8.2. Process Identifier s
Section 8.3. fork Functio n
Section 8.4. vfork Functio n
Section 8.5. exit Function s
Section 8.6. wait and waitpid Function s
Section 8.7. waitid Functio n
Section 8.8. wait3 and wait4 Function s
Section 8.9. Race Condition s
Section 8.10. exec Function s
This document was created by an unregistered ChmMagic, please go to http://www.bisenter.com to register it. Thanks .
Section 8.11. Changing User IDs and Group ID s
Section 8.12. Interpreter File s
Section 8.13. system Functio n
Section 8.14. Process Accountin g
Section 8.15. User Identificatio n
Section 8.16. Process Time s
Section 8.17. Summar y
Exercises
Chapter 9. Process Relationship s
Section 9.1. Introductio n
Section 9.2. Terminal Login s
Section 9.3. Network Login s
Section 9.4. Process Group s
Section 9.5. Session s
Section 9.6. Controlling Termina l
Section 9.7. tcgetpgrp, tcsetpgrp, and tcgetsid Function s
Section 9.8. Job Contro l
Section 9.9. Shell Execution of Program s
Section 9.10. Orphaned Process Group s
Section 9.11. FreeBSD Implementatio n
Section 9.12. Summar y
Exercises
Chapter 10. Signal s
Section 10.1. Introductio n
Section 10.2. Signal Concept s
Section 10.3. signal Functio n
Section 10.4. Unreliable Signal s
Section 10.5. Interrupted System Call s
Section 10.6. Reentrant Function s
Section 10.7. SIGCLD Semantic s
Section 10.8. Reliable-Signal Terminology and Semantic s
Section 10.9. kill and raise Function s
Section 10.10. alarm and pause Function s
Section 10.11. Signal Set s
Section 10.12. sigprocmask Functio n
Section 10.13. sigpending Functio n
Section 10.14. sigaction Functio n
Section 10.15. sigsetjmp and siglongjmp Function s
Section 10.16. sigsuspend Functio n
Section 10.17. abort Functio n
Section 10.18. system Functio n
Section 10.19. sleep Functio n
Section 10.20. Job-Control Signal s
Section 10.21. Additional Feature s
Section 10.22. Summar y
Exercises
Chapter 11. Thread s
Section 11.1. Introductio n
Section 11.2. Thread Concept s
Section 11.3. Thread Identificatio n
Section 11.4. Thread Creatio n
Section 11.5. Thread Terminatio n
This document was created by an unregistered ChmMagic, please go to http://www.bisenter.com to register it. Thanks .
剩余1231页未读,继续阅读
资源评论
- 「已注销」2014-02-16这本书身是绝对的经典。但是这个pdf的内容格式看起来并不是原版书的格式,而是再编辑的。
ellva29
- 粉丝: 0
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- (54节)视频号0粉起号课,逻辑梳理,技能提升,完整版-课程网盘链接提取码下载 .txt
- Mendix5-添加自定义逻辑
- 基于java的图片浏览小程序源码.zip
- 陈呵keyshot产品渲染第2期-课程网盘链接提取码下载 .txt
- 分层MPC控制器的实时车辆最优控制和避障Hierarchical MPC controller for real time ve
- 基于QT+C++实现微动背景,界面看似静态实则动态+源码
- 非线性弹簧质量系统的简单模型预测控制(MPC)Simple Model Predictive Control (MPC) for
- GEE案例-广东省梅州市梅县区松口镇的梅江横山水灾监测(利用sentinel-1和大津法计算洪水时序面积).pdf
- camunda简介&实现简单审批流程文档
- 科来网络分析系统15.2.0.15277-技术交流版
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功