第一图书网

高级UNIX程序设计

罗克金德, 清华大学出版社
出版时间:

2006-4  

出版社:

清华大学出版社  

作者:

罗克金德,  

页数:

702  

Tag标签:

无  

内容概要

系统函数决定了什么是UNIX,其他的(如子例程和命令)都是建立在系统函数的基础之上。现今的UNIX说明书中有1100多个系统函数,要掌握这些函数是件很困难的事。本书主要介绍了其中最常用的300多个系统函数。全书包括基本概念、基本文件I/O、高级文件I/O、终端I/O、进程与线程、基本进程间通信、高级进程间通信、网络技术与套接字,以及信号与定时器等9章。 本书给出了数千行的示例代码,所有这些代码都可以从本书网址www.basepath.com/aup下载。本书每章的末尾都给出了一些练习。这些练习的难易程度各不相同,一些只需几句话就可以回答,一些是简单的程序设计问题,还有一些则可以作为每学期的UNIX程序设计项目练习。

书籍目录

ContentsPreface xiChapter 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 SVmbols for File Permission Bits  2.4 open and creat System Calls  2.5 "mask System Call  2.6 unlink System Call  2.7 Creating Temporary Files 2.8 File OffSets and O APPEND  2.9 write SVstem Call  2.10 read SVstem Call 2.11 close SVstem Call  2.12 User Buffered I/O 2.13 lseek SVstem Call  2.14 pread and pwrite System Calls  2.15 ready and wri tev SVstem Calls  2.16 Synchronized I/O  2.17 truncate and ftruncate SVstem 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 AsVnchronous I/O Chapter 4 Terminal I/O  4.1 Introduction  4.2 ReadinZ 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-ScreenApplications  4.9 STREAMS I/O  4.10 Pseudo Terminals Chapter 5 Processes and Threads 5.1 Introduction 5.2 Environment  5.3 exec SVstem Calls  5.4 Implementing a Shell (Version l)  5.5 fork System Call  5.6 Implementing a Shell (Version 2) 5.7 exit SVstem Calls and Process Termination ……Chapter 6 Basic interprocess Communication Chapter 7 Advanced interprocess Communication Chapter 8 Networking and Sockets Chapter 9 Signals 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


编辑推荐

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

图书封面

图书标签Tags

广告

下载页面


高级UNIX程序设计 PDF格式下载



相关图书