Beginning Linux Programming, 4/e (Paperback)

Neil Matthew, Richard Stones




Beginning Linux Programming, Fourth Edition continues its unique approach to teaching UNIX programming in a simple and structured way on the Linux platform. Through the use of detailed and realistic examples, students learn by doing, and are able to move from being a Linux beginner to creating custom applications in Linux. The book introduces fundamental concepts beginning with the basics of writing Unix programs in C, and including material on basic system calls, file I/O, interprocess communication (for getting programs to work together), and shell programming. Parallel to this, the book introduces the toolkits and libraries for working with user interfaces, from simpler terminal mode applications to X and GTK+ for graphical user interfaces. Advanced topics are covered in detail such as processes, pipes, semaphores, socket programming, using MySQL, writing applications for the GNOME or the KDE desktop, writing device drivers, POSIX Threads, and kernel programming for the latest Linux Kernel.Â


《Beginning Linux Programming, Fourth Edition》延續其獨特的方式,在Linux平台上以簡單結構化的方式教授UNIX程式設計。通過詳細且實際的例子,學生能夠透過實作學習,從Linux初學者進階到在Linux上建立自定義應用程式。本書從基礎概念開始介紹,包括使用C語言撰寫Unix程式的基礎知識,以及基本系統呼叫、檔案輸入輸出、進程間通訊(用於使程式協同工作)和Shell程式設計等內容。同時,本書還介紹了用於處理使用者介面的工具包和函式庫,從簡單的終端模式應用程式到用於圖形使用者介面的X和GTK+。詳細介紹了進階主題,如進程、管道、信號量、套接字程式設計、使用MySQL、為GNOME或KDE桌面編寫應用程式、編寫設備驅動程式、POSIX線程和最新Linux內核的內核程式設計。