Skip to content

This repository will include exercises and answers for each chapter of *The Linux Programming Interface* by Michael Kerrisk.

License

Notifications You must be signed in to change notification settings

wangshifuzecy/tlpi_solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository will include exercises and answers for each chapter of The Linux Programming Interface by Michael Kerrisk, and it may also contain notes for some important chapters.

The UNIX implementation except Linux may not be considered in the answers. (Question containing other UNIX implementations may not be answered) Additionally, the author's operating system is Ubuntu 22.04, and the answers may lack compatibility for other systems.

The tlpi_dist directory is the source code of the book, downloaded from the Distribution versioin of man7

More chapters are being updated.

contents (update to ch17)

  • [ch01 History and Standards] no exercises
  • [ch02 Concepts] no exercises
  • ch03 System Programming Concepts
  • ch04 File I/O: The Universal I/O Model
  • ch05 File I/O: Further Details
  • ch06 Processes
  • ch07 Memory Allocation
  • ch08 Users and Groups
  • ch09 Process Credentials
  • ch10 Times and Dates
  • ch11 System Limits and Options
  • ch12 Retrieving System and Process Information
  • ch13 File I/O Buffering
  • ch14 File Systems
  • ch15 File Attributes
  • ch16 Extended Attributes
  • ch17 Access Control Lists
  • [ch18 Directories and Links]
  • [ch19 Monitoring File Events with inotify]
  • [ch20 Signals: Fundamental Concepts]
  • [ch21 Signals: Signal Handlers]
  • [ch22 Signals: Advanced Features]
  • [ch23 Timers and Sleeping]
  • [ch24 Process Creation]
  • [ch25 Process Termination]
  • [ch26 Monitoring Child Processes]
  • [ch27 Program Execution]
  • [ch28 Process Creation and Program Execution in More Detail]
  • [ch29 Threads: Introduction]
  • [ch30 Threads: Thread Synchronization]
  • [ch31 Threads: Thread Safety and Per-thread Storage]
  • [ch32 Threads: Thread Cancellation]
  • [ch33 Threads: Further Details]
  • [ch34 Process Groups, Sessions, and Job Control]
  • [ch35 Process Priorities and Scheduling]
  • [ch36 Process Resources]
  • [ch37 Daemons]
  • [ch38 Writing Secure Privileged Programs]
  • [ch39 Capabilities]
  • [ch40 Login Accounting]
  • [ch41 Fundamentals of Shared Libraries]
  • [ch42 Advanced Features of Shared Libraries]
  • [ch43 Interprocess Communication Overview]
  • [ch44 Pipes and FIFOs]
  • [ch45 Introduction to System V IPC]
  • [ch46 System V Message Queues]
  • [ch47 System V Semaphores]
  • [ch48 System V Shared Memory]
  • [ch49 Memory Mappings]
  • [ch50 Virtual Memory Operations]
  • [ch51 Introduction to POSIX IPC]
  • [ch52 POSIX Message Queues]
  • [ch53 POSIX Semaphores]
  • [ch54 POSIX Shared Memory]
  • [ch55 File Locking]
  • [ch56 Sockets: Introduction]
  • [ch57 Sockets: Unix Domain]
  • [ch58 Sockets: Fundamentals of TCP/IP Networks]
  • [ch59 Sockets: Internet Domains]
  • [ch60 Sockets: Server Design]
  • [ch61 Sockets: Advanced Topics]
  • [ch62 Terminals]
  • [ch63 Alternative I/O Models]
  • [ch64 Pseudoterminals]

reference

This project makes use of the following open-source repo, thank them:

About

This repository will include exercises and answers for each chapter of *The Linux Programming Interface* by Michael Kerrisk.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published