
The Linux Programming Interface
文章平均质量分 78
火车上遇见
这个作者很懒,什么都没留下…
展开
-
The Linux Programming Interface 02 Fundamental Concepts 基本概念
Fundamental Concepts(01) Although it is possible to run programs on a computer without a kernel, the presence of a kernel greatly simplifies the writing and use of other programs, and increases the原创 2017-02-27 16:53:28 · 671 阅读 · 0 评论 -
The Linux Programming Interface 05 File I/O: Further Details 文件I/O的更多细节
The Linux Programming InterfaceFile I/O: Further Details(01) 原子操作Atomicity is essential to the successful completion of some operations. In particular, it allows us to avoid race conditions.(0原创 2017-03-06 14:27:31 · 583 阅读 · 0 评论 -
The Linux Programming Interface 15 File Attributes 文件属性
The Linux Programming InterfaceFile Attributes(01) 主要内容In this chapter, we investigate various attributes of file (file metadata).stat()函数返回一个文件结构体,包含许多文件的属性。(02)几个获取文件属性的函数The stat(), lst原创 2017-03-10 09:39:56 · 540 阅读 · 0 评论 -
The Linux Programming Interface 14 File Systems 文件系统
The Linux Programming InterfaceFile Systems(01)主要内容The majority of this chapter is concern with file systems, which are organized collections of files and directories.(02)设备解释,有必要的驱动,统一的接口,供上层原创 2017-03-10 09:27:05 · 375 阅读 · 0 评论 -
The Linux Programming Interface 13 File I/O Buffering 文件接口缓存
The Linux Programming InterfaceFile I/O Buffering(01) 内容In this chapter, we describe both types of buffering and consider how the affect application performance.(02)cache技术write(fd, "abc",原创 2017-03-09 23:06:20 · 408 阅读 · 0 评论 -
The Linux Programming Interface 12 System And Process Information 系统和进程信息
The Linux Programming InterfaceSystem And Process Interface(01)主要内容,主要讨论/proc目录In this chapter, we look at ways of accessing a variety of system and process information. The primary focus of t原创 2017-03-09 22:41:42 · 441 阅读 · 0 评论 -
The Linux Programming Interface 11 System Limits And Options 系统限制和选择
The Linux Programming InterfaceSystem Limit And Options(01) 概念Each UNIX implementation set limits on various system features and resources, and provides - or chooses not to provide - options def原创 2017-03-09 19:55:40 · 541 阅读 · 0 评论 -
The Linux Programming Interface 10 Time 时间
The Linux Programming Interface Time(01) 实际时间和进程时间概念Real time: This is the time as measured either from some standard point (calendar time) or from some fixed point (typically the start) in th原创 2017-03-09 13:41:03 · 538 阅读 · 0 评论 -
The Linux Programming Interface 01 History and Standards UNIX/Linux历史和标准
History and Standards(01) 介绍UNIX系统和C语言We begin with a description of the origins of the UNIX system and the C programming language, and then consider the two key currents that led to the Linux s原创 2017-02-27 15:16:31 · 338 阅读 · 0 评论 -
The Linux Programming Interface Appendix B Parsing Command-Line options 解析命令行中的选项
The Linux Programming InterfaceParsing Command-Line options(01)原创 2017-03-06 11:33:35 · 720 阅读 · 0 评论 -
The Linux Programming Interface 04 File I/O: The Universal I/O Model 通用I/O模型
The Linux Programming InterfaceFile I/O: The Universal I/O Model原创 2017-02-28 22:44:24 · 635 阅读 · 0 评论 -
The Linux Programming Interface 00 preface 序言
The Linux Programming InterfaceA Linux and UNIX System Programming Handbook原创 2017-02-27 11:10:24 · 506 阅读 · 0 评论 -
The Linux Programming Interface 09 Process Credentials 进程凭证
The Linux Programming InterfaceProcess Credentials(1) 有那些凭证1. real user ID and group ID2. effective user ID and group ID3. saved set-user-ID and saved set-group-ID4. file-system user ID an原创 2017-03-08 23:29:49 · 538 阅读 · 0 评论 -
The Linux Programming Interface 08 Users And Groups 用户和组
The Linux Programming InterfaceUsers And Groups(01)用户和组Every user has a unique login name and an associated numeric user identifier (UID). Users can belong to one or more groups. Each group also原创 2017-03-08 19:55:30 · 476 阅读 · 0 评论 -
The Linux Programming Interface 07 Memory Allocation 分配内存
The Linux Programming InterfaceMemory Allocation(1) 内容This chapter describes the functions that are used to allocate memory on the heap or the stack.To allocate memory, C programs normally use原创 2017-03-08 19:30:36 · 377 阅读 · 0 评论 -
The Linux Programming Interface 06 Process 进程
The Linux Programming InterfaceProcess(01) 进程定义A process is an abstract entity, defined by the kernel, to which system resources are allocated in order to execute a program.From the kernel's p原创 2017-03-07 17:07:39 · 514 阅读 · 0 评论 -
The Linux Programming Interface 03 System Programming Concepts 系统编程观念
The Linux Programming InterfaceSystem Programming Concepts(1) 本节主要概括Whenever we make a system call or call a library function, we should always check the return status of the call in order to de原创 2017-02-28 17:50:04 · 613 阅读 · 0 评论 -
The Linux Programming Interface 16 - 19
The Linux Programming Interface16 Extended Attributes 附加属性17 Access Control Lists 控制权限列表16 & 17看起来没有什么意思,那就直接略过,哪天需要的时候再拿看吧,按照惯例,它们的总结还是要有的。16章总结:From version 2.6 onward, Linux supports exte原创 2017-03-10 16:47:16 · 427 阅读 · 0 评论