网站首页  软件下载  游戏下载  翻译软件  电子书下载  电影下载  电视剧下载  教程攻略

请输入您要查询的图书:

 

书名 高级UNIX程序设计(第2版影印版)/大学计算机教育国外著名教材系列
分类 计算机-操作系统
作者 (美)罗克金德
出版社 清华大学出版社
下载
简介
编辑推荐

全英文版本。本书主要介绍了其中最常用的300多个系统函数。全书包括基本概念、基本文件I/O、高级文件I/O、终端I/O、进程与线程、基本进程问通信、高级进程问通信、网络技术与套接字,以及信号与定时器等9章。适用于我国高校本科及研究生计算机教育。

内容推荐

系统函数决定了什么是UNIX,其他的(如子例程和命令)都是建立在系统函数的基础之上。现今的UNIX说明书中有1100多个系统函数,要掌握这些函数是件很困难的事。本书主要介绍了其中最常用的300多个系统函数。全书包括基本概念、基本文件I/O、高级文件I/O、终端I/O、进程与线程、基本进程问通信、高级进程问通信、网络技术与套接字,以及信号与定时器等9章。

本书给出了数千行的示例代码,所有这些代码都可以从本书网址www.basepath.com/aup下载。本书每章的末尾都给出了一些练习。这些练习的难易程度各不相同,一些只需几句话就可以回答,一些是简单的程序设计问题,还有一些则可以作为每学期的UNIX程序设计项目练习。

目录

Preface

Chapter 1 Fundamental Concepts

1.1 A Whirlwind Tour of UNIX and Linux

1.2 Versions of UNIX   

1.3 Using System Calls  

1.4 Error Handling  

1.5 UNIX Standards  

1.6 Common Header File  

1.7 Dates and Times  

1.8 About the Example Code  

1.9 Essential Resources  

Chapter 2 Basic File I/O

2.1 Introduction to File I/O  

2.2 File Descriptors and Open File Descriptions  

2.3 Symbols for File Permission Bits  

2.4 open and creat System Calls   

2.5 umask System Call   

2.6 unlink System Call  

2.7 Creating Temporary Files   

2.8 File Offsets and O APPEND 

2.9 write System Call   

2.10 read System Call  

2.11 close System Call  

2.12 User Buffered I/O  

2.13 lseek System Call  

2.14 pread and pwrite System Calls  

2.15 readv and writev System Calls  

2.16 Synchronized I/0  

2.17 truncate and ftruncate System Calls  

Chapter 3 Advanced File I/O

3.1 Introduction  

3.2 Disk Special Files and File Systems  

3.3 Hard and Symbolic Links  

3.4 Pathnames  

3.5 Accessing and Displaying File Metadata  

3.6 Directories  

3.7 Changing an I-Node  

3.8 More File-Manipulation Calls  

3.9 Asynchronous I/O  

Chapter 4 Terminal I/O

4.1 Introduction  

4.2 Reading from a Terminal  

4.3 Sessions and Process Groups (Jobs)  

4.4 ioctl System Call  

4.5 Setting Terminal Attributes  

4.6 Additional Terminal-Control System Calls  

4.7 Terminal-Identification System Calls  

4.8 Full-Screen Applications  

4.9 STREAMS I/O  

4.10 Pseudo Terminals  

Chapter 5 Processes and Threads

5.1 Introduction  

5.2 Environment  

5.3 exec System Calls  

5.4 Implementing a Shell (Version 1)  

5.5 fork System Call  

5.6 Implementing a Shell (Version 2)  

5.7 exit System Calls and Process Termination  

5.8 wait, waitpid, and wait id System Calls  

5.9 Signals, Termination, and Waiting  

5.10 Implementing a Shell (Version 3)  

5.11 Getting User and Group IDs  

5.12 Setting User and Group IDs  

5.13 Getting Process IDs  

5.14 chroot System Call  

5.15 Getting and Setting the Priority  

5.16 Process Limits  

5.17 Introduction to Threads 

5.18 The Blocking Problem  

Chapter 6 Basic Interprocess Communication

6.1 Introduction  

6.2 Pipes  

6.3 dup and dup2 System Calls  

6.4 A Real Shell  

6.5 Two-Way Communication with Unidirectional Pipes  

6.6 Two-Way Communication with Bidirectional Pipes 

Chapter 7 Advanced Interprocess Communication

7.1 Introduction  

7.2 FIFOs, or Named Pipes  

7.3 An Abstract Simple Messaging Interface (SMI)  

7.4 System V IPC (Interprocess Communication)  

7.5 System V Message Queues

7.6. POSIX IPC  

7.7 POSIX Message Queues  

7.8 About Semaphores  

7.9 System V Semaphores  

7.10 POSIX Semaphores  

7.11 File Locking  

7.12 About Shared Memory  

7.13 System V Shared Memory  

7.14 POSIX Shared Memory  

7.15 Performance Comparisons  

Chapter 8 Networking and Sockets

8.1 Socket Basics  

8.2 Socket Addresses  

8.3 Socket Options  

8.4 Simple Socket Interface (SSI)  

8.5 Socket Implementation of SMI  

8.6 Connectionless Sockets  

8.7 Out-of-Band Data  

8.8 Network Database Functions  

8.9 Miscellaneous System Calls  

8.10 High-Performance Considerations  

Chapter 9 Signals and Timers

9.1 Signal Basics  

9.2 Waiting for a Signal  

9.3 Miscellaneous Signal System Calls  

9.4 Deprecated Signal System Calls  

9.5 Realtime Signals Extension (RTS)  

9.6 Global Jumps  

9.7 Clocks and Timers  

Appendix A Process Attributes

Appendix B Ux: A C++ Wrapper for Standard UNIX Functions

Appendix C Jtux: A Java/Jython Interface to Standard

      UNIX Functions

Appendix D Alphabetical and Categorical Function Lists

References

Index

随便看

 

霍普软件下载网电子书栏目提供海量电子书在线免费阅读及下载。

 

Copyright © 2002-2024 101bt.net All Rights Reserved
更新时间:2025/2/22 6:13:55