The Design of the UNIX Operating SystemThis is the first, and still, the most comprehensive book to describe the sophisticated workings of the UNIX System V kernel--the internal algorithms, the structures that form the basis of the UNIX operating system, and their relationship to the programming interface. System programmers will gain a better understanding of how the kernel works and will be able to compare algorithms used in the UNIX system to algorithms used in other operating systems. Programmers on UNIX systems will gain a deeper understanding of how their programs interact with the system and can thereby code more efficient programs. |
From inside the book
Results 1-3 of 50
Page 116
... char string [ ] " hello " ; main O { char buf [ 1024 ] ; char * cp1 , * cp2 ; int fds [ 2 ] ; cpl - string ; cp2 - buf ; while ( * cp1 ) * cp2 ++ * cp1 ++ ; pipe ( fds ) ; for ( ;; ) { write ( fds [ 1 ] , buf , 6 ) ; read ( fds [ 0 ] ...
... char string [ ] " hello " ; main O { char buf [ 1024 ] ; char * cp1 , * cp2 ; int fds [ 2 ] ; cpl - string ; cp2 - buf ; while ( * cp1 ) * cp2 ++ * cp1 ++ ; pipe ( fds ) ; for ( ;; ) { write ( fds [ 1 ] , buf , 6 ) ; read ( fds [ 0 ] ...
Page 435
... char * filename ; Acct enables system accounting if filename is non - null , and disables it otherwise . alarm unsigned alarm ( seconds ) unsigned seconds ; Alarm schedules the occurrence of an alarm signal for the calling process in ...
... char * filename ; Acct enables system accounting if filename is non - null , and disables it otherwise . alarm unsigned alarm ( seconds ) unsigned seconds ; Alarm schedules the occurrence of an alarm signal for the calling process in ...
Page 436
... char * filename ; int owner , group ; Chown changes the owner and group of the indicated file to the specified owner and group IDs . chroot chroot ( filename ) char * filename ; Chroot sets the private , changed - root of the calling ...
... char * filename ; int owner , group ; Chown changes the owner and group of the indicated file to the specified owner and group IDs . chroot chroot ( filename ) char * filename ; Chroot sets the private , changed - root of the calling ...
Contents
PREFACE xi | 7 |
INTRODUCTION TO THE KERNEL | 18 |
THE BUFFER CACHE | 38 |
Copyright | |
12 other sections not shown
Common terms and phrases
address space algorithm allocates allow assigns buffer bytes Chapter char character checks child process close command completes contains context copy creates data structures described device disk disk block driver example exec execution exists exit fault field Figure file descriptor file system file table flag fork function handler handling happens implementation indicates initializes inode input interrupt invokes kernel lock loop machine memory mount offset operation output parameters parent path permission physical pipe pointer priority procedure processor queue receives reference count region release remote remove root satellite saved scheduling semaphore sends shared shell shows signal sleep specified stack stub swap swap device switch system call table entry terminal UNIX system virtual address waiting write