Star Wars Sale
 
 

Special Offers see all

Enter to WIN!

Weekly drawing for $100 credit. Subscribe to PowellsBooks.news for a chance to win.
Privacy Policy

More at Powell's


Recently Viewed clear list


Original Essays | June 20, 2014

Lisa Howorth: IMG So Many Books, So Many Writers



I'm not a bookseller, but I'm married to one, and Square Books is a family. And we all know about families and how hard it is to disassociate... Continue »
  1. $18.20 Sale Hardcover add to wish list

    Flying Shoes

    Lisa Howorth 9781620403013

spacer

Linux Programming by Example: The Fundamentals

by

Linux Programming by Example: The Fundamentals Cover

ISBN13: 9780131429642
ISBN10: 0131429647
Condition: Standard
All Product Details

Only 1 left in stock at $25.50!

 

Synopses & Reviews

Publisher Comments:

“This is an excellent introduction to Linux programming. The topics are well chosen and lucidly presented. I learned things myself, especially about internationalization, and Ive been at this for quite a while.”

—Chet Ramey, Coauthor and Maintainer of the Bash shell

“This is a good introduction to Linux programming. Arnolds technique of showing how experienced programmers use the Linux programming interfaces is a nice touch, much more useful than the canned programming examples found in most books.”

—Ulrich Drepper, Project Lead, GNU C library

“A gentle yet thorough introduction to the art of UNIX system programming, Linux Programming by Example uses code from a wide range of familiar programs to illustrate each concept it teaches. Readers will enjoy an interesting mix of in-depth API descriptions and portability guidelines, and will come away well prepared to begin reading and writing systems applications. Heartily recommended.”

—Jim Meyering, Coauthor and Maintainer of the GNU Core Utility Programs Learn Linux® programming, hands-on… from real source code

This book teaches Linux programming in the most effective way possible: by showing and explaining well-written programs. Drawing from both V7 Unix® and current GNU source code, Arnold Robbins focuses on the fundamental system call APIs at the core of any significant program, presenting examples from programs that Linux/Unix users already use every day. Gradually, one step at a time, Robbins teaches both high-level principles and “under the hood” techniques. Along the way, he carefully addresses real-world issues like performance, portability, and robustness. Coverage includes:

  • Memory management
  • File I/O
  • File metadata
  • Processes
  • Users and groups
  • Sorting and searching
  • Argument parsing
  • Extended interfaces
  • Signals
  • Internationalization
  • Debugging
  • And more…

Just learning to program? Switching from Windows®? Already developing with Linux but interested in exploring the system call interface further? No matter which, quickly and directly, this book will help you master the fundamentals needed to build serious Linux software.

Companion Web Sites, authors.phptr.com/robbins and www.linux-by-example.com, include all code examples.

Synopsis:

This gentle yet thorough introduction to the art of UNIX system programming uses code from a wide range of familiar programs to illustrate each concept it teaches. Readers will enjoy an interesting mix of in-depth API descriptions and portability guidelines, and will come away well prepared to begin reading and writing systems applications.

Synopsis:

Linux Programming by Example introduces new Linux programmers to the core Linux programming interfaces in a gradual, consistent fashion, progressing intuitively from the basic to the more complex. It covers I/O, file metainformation, users and groups, processes, basic interprocess communication (pipes), general purpose APIs, signals, internationalization, and ends with a chapter on debugging Linux programs. Programmers know that the best way to learn about programming is to study well-written programs. This book teaches the fundamental Linux programming interfaces, those that form the core of any significant program, by presenting example code from real-world production programs that Linux users use every day. By looking at concrete programs, its possible not only to see how to use the Linux programming interfaces, but also to examine the real-world issues (performance, portability, robustness) that arise in writing Linux software. This book is the FIRST in a new series of books featuring Arnold Robbins as Series Editor. The books will all be branded "Linux Programming by Example" and cover programming topics for the new Linux programmer and Windows programmers making the switch.

Synopsis:

The perfect introduction to Linux programming fundamentals for developers new to Linux - ideal for Windows programmers making the switch.

About the Author

Arnold Robbins is an Atlanta native, currently living is Israel. He is a happy husband, and the proud father of four wonderful children. He works as a professional software engineer and technical author. In his non-copious spare time, he is also an amateur Talmudist, both Babylonian and Jerusalem.

Arnold has been working with Unix systems of various sorts, GNU/Linux systems, C, C++ and all the other major Unix tools since 1980.

As a long-time volunteer for the GNU project, he has been the maintainer of GAWK (GNU Awk) for many years. Arnold was on the balloting committee for the original POSIX Shell and Utilities standard in the early 1990s and helped to shape the POSIX standard for awk (and a few other things).

Table of Contents

Preface.

Audience. What You Will Learn. Small Is Beautiful: Unix Programs. Standards. Features and Power: GNU Programs. Chapter Summary. Typographical Conventions. Where To Get Unix and GNU Source Code. Unix Code. GNU Code.

Acknowledgments.

1. Introduction.

The Linux/Unix File Model. The Linux/Unix Process Model. Standard C vs. Original C. Why GNU Programs Are Better. Portability Revisited. Suggested Reading. Summary. Exercises.

2. Arguments, Options, and the Environment

Option and Argument Conventions. Basic Command Line Processing. Option Parsing: getopt() and getopt_long(). The Environment. Summary. Exercises.

3. User-Level Memory Management

Linux/Unix Address Space. Allocating Memory. Summary. Exercises.

4. Files and File I/O.

Introduction. Basic Program Structure. Determining What Went Wrong. Input and Output. Random Access: Moving Around Within A File. Creating Files. Forcing Data to Disk. Setting File Length. Summary. Exercises.

5. Directories and File Metadata.

Directory Contents. Creating and Removing Directories. Reading Directories. File Types and Information. Changing Ownership, Permission, and Modification Times. Summary. Exercises.

6. General Library Interfaces - Part 1

Times and Dates. Sorting and Searching. User and Group Names. Terminals: isatty(). Suggested Reading. Summary. Exercises.

7. Putting It All Together: ls.

V7 ls Options. The V7 ls Code. Summary. Exercises.

8. Filesystems and Directory Walks.

Mounting and Unmounting Filesystems. Filesystem Administration Files. Retrieving Per-filesystem Information. Moving Around In The File Hierarchy. Doing A File Tree Walk: GNU du. Changing The Root Directory: chroot(). Summary. Exercises.

9. Process Management and Pipes.

Process Creation and Management. Process Groups. Basic Interprocess Communication: Pipes and FIFOs. File Descriptor Management. Example: Two Way Pipes In gawk. Suggested Reading. Summary. Exercises.

10. Signals.

Introduction. Signal Actions. Standard C Signals: signal() and raise(). Signal Handlers In Action. The System V Release 3 Signal APIs: sigset() et al. POSIX Signals. Signals For Interprocess Communication. Important Special Purpose Signals. Signals Across fork() and exec(). Summary. Exercises.

11. User and Group ID Numbers and Permissions.

Introduction. Retrieving User and Group Ids. Checking As The Real User: access(). GLIBC Only: Checking As The E_ective User: euidaccess(). Extra Permission Bits For Directories. Setting Real and E_ective Ids. Linux Only: getresuid() and setresuid(). Setuid root: A Security Minefield. Suggested Reading. Summary. Exercises.

12. General Library Interfaces - Part 2.

Stating Assertions: assert(). Low-level Memory: The memXXX() Functions. Temporary Files. Committing Suicide: abort(). Non-local Gotos. Pseudorandom Numbers. Metacharacter Expansions. Regular Expressions. Suggested Reading. Summary. Exercises.

13. Internationalization and Localization.

Locales and the C Library. Dynamic Translation of Program Messages. Can You Spell That For Me Please? Suggested Reading. Summary. Exercises.

14. Extended Interfaces.

Allocating Aligned Memory: posix_memalign() and memalign(). Locking Files. More Precise Times. Advanced Searching With Binary Trees. Summary. Exercises

15. Debugging.

What To Do First? Compiling For Debugging. GDB Basics. Programming For Debugging. Debugging Tools. Software Testing. Debugging Rules. Suggested Reading. Summary. Exercises.

16. Tying It Together - A Project.

Project Description. Suggested Reading.

Appendix A. Teach Yourself Programming in Ten Years.

Why is everyone in such a rush? Teach Yourself Programming in Ten Years. References. Answers. Footnotes.

Appendix B. Caldera Ancient UNIX License.

Appendix C. GNU General Public License.

Preamble.

Terms and Conditions for Copying, Distribution and Modification.

How to Apply These Terms to Your New Programs.

Example Use.

Index.

What Our Readers Are Saying

Add a comment for a chance to win!
Average customer rating based on 2 comments:

katikam.lavanya, October 27, 2011 (view all comments by katikam.lavanya)
it is extra ordinary book for programmer to know in depth concepts of linux and who is very keen in subject
Was this comment helpful? | Yes | No
katikam.lavanya, October 27, 2011 (view all comments by katikam.lavanya)
it is extra ordinary book for programmer to know in depth concepts of linux and who is very keen in subject
Was this comment helpful? | Yes | No
View all 2 comments

Product Details

ISBN:
9780131429642
Other:
Robbins, Arnold
Publisher:
Prentice Hall
Other:
Robbins, Arnold
Author:
Robbins, Arnold
Location:
Upper Saddle River, NJ
Subject:
Operating Systems - UNIX
Subject:
Operating Systems - Windows
Subject:
Operating Systems - LINUX
Subject:
Operating systems
Subject:
Linux
Subject:
Unix-Unix Administration
Copyright:
Edition Description:
Trade paper
Series:
Prentice Hall Open Source Software Development Series
Series Volume:
13
Publication Date:
April 2004
Binding:
TRADE PAPER
Grade Level:
Professional and scholarly
Language:
English
Illustrations:
Y
Pages:
720
Dimensions:
9 x 7 x 1.7 in 1111 gr

Other books you might like

  1. The Linux(r) Kernel Primer: A... Used Trade Paper $17.50

Related Subjects

Computers and Internet » Operating Systems » General
Computers and Internet » Operating Systems » Linux
Computers and Internet » Operating Systems » Unix » Linux
Computers and Internet » Operating Systems » Unix » Unix Administration
Computers and Internet » Operating Systems » Unix » Unix and Linux Programming

Linux Programming by Example: The Fundamentals Used Trade Paper
0 stars - 0 reviews
$25.50 In Stock
Product details 720 pages Prentice Hall PTR - English 9780131429642 Reviews:
"Synopsis" by , This gentle yet thorough introduction to the art of UNIX system programming uses code from a wide range of familiar programs to illustrate each concept it teaches. Readers will enjoy an interesting mix of in-depth API descriptions and portability guidelines, and will come away well prepared to begin reading and writing systems applications.
"Synopsis" by , Linux Programming by Example introduces new Linux programmers to the core Linux programming interfaces in a gradual, consistent fashion, progressing intuitively from the basic to the more complex. It covers I/O, file metainformation, users and groups, processes, basic interprocess communication (pipes), general purpose APIs, signals, internationalization, and ends with a chapter on debugging Linux programs. Programmers know that the best way to learn about programming is to study well-written programs. This book teaches the fundamental Linux programming interfaces, those that form the core of any significant program, by presenting example code from real-world production programs that Linux users use every day. By looking at concrete programs, its possible not only to see how to use the Linux programming interfaces, but also to examine the real-world issues (performance, portability, robustness) that arise in writing Linux software. This book is the FIRST in a new series of books featuring Arnold Robbins as Series Editor. The books will all be branded "Linux Programming by Example" and cover programming topics for the new Linux programmer and Windows programmers making the switch.

"Synopsis" by , The perfect introduction to Linux programming fundamentals for developers new to Linux - ideal for Windows programmers making the switch.
spacer
spacer
  • back to top
Follow us on...




Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at Powells.com.