Advanced Programming in the UNIX Environment

Advanced Programming in the UNIX Environment

4.11 - 1251 ratings - Source

For more than twenty years, serious C programmers have relied on one book for practical, in-depth knowledge of the programming interfaces that drive the UNIX and Linux kernels: W. Richard Stevensa€™ Advanced Programming in the UNIXAr Environment . Now, once again, Richa€™s colleague Steve Rago has thoroughly updated this classic work. The new third edition supports todaya€™s leading platforms, reflects new technical advances and best practices, and aligns with Version 4 of the Single UNIX Specification. Steve carefully retains the spirit and approach that have made this book so valuable. Building on Richa€™s pioneering work, he begins with files, directories, and processes, carefully laying the groundwork for more advanced techniques, such as signal handling and terminal I/O. He also thoroughly covers threads and multithreaded programming, and socket-based IPC. This edition covers more than seventy new interfaces, including POSIX asynchronous I/O, spin locks, barriers, and POSIX semaphores. Most obsolete interfaces have been removed, except for a few that are ubiquitous. Nearly all examples have been tested on four modern platforms: Solaris 10, Mac OS X version 10.6.8 (Darwin 10.8.0), FreeBSD 8.0, and Ubuntu version 12.04 (based on Linux 3.2). As in previous editions, youa€™ll learn through examples, including more than ten thousand lines of downloadable, ISO C source code. More than four hundred system calls and functions are demonstrated with concise, complete programs that clearly illustrate their usage, arguments, and return values. To tie together what youa€™ve learned, the book presents several chapter-length case studies, each reflecting contemporary environments. Advanced Programming in the UNIXAr Environment has helped generations of programmers write code with exceptional power, performance, and reliability. Now updated for todaya€™s systems, this third edition will be even more valuable.The detailed format of these records in Solaris is given in the utmpx(4) manual page. With Solaris 10, both files are in the /var/adm directory. Solaris provides numerous functions described in getutxent(3) to read and write these two files. On FreeBSD 8.0 and ... active login sessions. System Identification POSIX.1 defines the uname function to return information on the current host and operating system.

Title:Advanced Programming in the UNIX Environment
Author:W. Richard Stevens, Stephen A. Rago
Publisher:Addison-Wesley - 2013-06-10


You Must CONTINUE and create a free account to access unlimited downloads & streaming