C and UNIX: Two Books by Ronald J. Leach

C and UNIX: Two Books

byRonald J. Leach

Kobo ebook | February 2, 2013

Pricing and Purchase Info


Prices and offers may vary in store

Available for download

Not available in stores


This Volume contains two complete books.


Originally published in 1993, this book provides a creative approach to learning the C programming language by emphasizing software engineering. This inexpensive book, extensively tested in several academic and professional settings, provides a gentle, but complete, introduction to the C language for a practicing scientist or engineer to be able to write substantial programs to solve scientific programs using C libraries. Extensive program examples are included to illustrate the major concepts of the C programming language. This book also illustrates the way that modern software engineering is typically done, by showing how a major software design and development project can be implemented in the C language.

The first part emphasizes the simpler software engineering aspects of C, allowing the reader to begin writing interesting programs quickly. A software project is introduced early in the book and appears throughout as new features of C are covered. The second part of the book discusses advanced C topics, such as pointers, structures, and the design of larger C programs that extend over several source code files. A brief introduction to C++ is included.


The first edition, originally published in 1994 by John Wiley, was named an Alternate Main Selection of the Newbridge Book Club. It stayed in print for thirteen years, an eternity in the computing literature. Due to changes in the publishing industry, this edition of the book is only available electronically.

I revised the book because of the increased popularity of several variants of UNIX and what I learned from reviews of the previous published version. Linux is highly popular, especially in the open source community and because the operating system for the Google Android phone is based on it. Fedora (Red Hat), Debian, Ubuntu, and SUSE are other variants. Mach, Solaris, and Apple Darwin are also popular.

In my experience, end users, application programmers, system programmers, and system administrators often have difficulties making programs and utilities work well across different UNIX variants, due to differences in file system organization, different locations of critical configuration files, and important, yet subtle, differences in how system calls operate. There are also issues with different utilities, many of which are either not available on all UNIX versions, or else require a substantial effort to even get them to install properly.

Many second editions dump material from older technologies. I have chosen a different approach, guided by my own research and experience in the efficient development of large, high-quality, software systems over much of the last twenty-five years. A huge percentage of current software applications for UNIX and other operating systems are built using existing software components that are either partially or entirely reused. Older software components necessarily have been built using older technology and are likely to use some of the older system calls as well as newly created calls. You need to understand the differences in different generations of system calls and their behavior if you are redeploying existing software components. That is, after all, the reason for learning system calls if you are an applications programmer. The same holds true for systems-level programming, especially kernel-level programming, since operating systems are rarely written from scratch.

There are 11 chapters: Introduction to UNIX, The User Interface, Input and Output, UNIX File Systems, Introduction to Processes, Memory and Process Management, Introduction to Interprocess Communication, The System V IPC Package, Signals, Sockets, and RPC, IPC Comparison, and Fault-Tolerant UNIX Software.

Title:C and UNIX: Two BooksFormat:Kobo ebookPublished:February 2, 2013Publisher:AftermathLanguage:English

The following ISBNs are associated with this title:

ISBN - 10:1939142253

ISBN - 13:9781939142252

Look for similar items by category: