System Programming with C and Unix

Hardcover
from $0.00

Author: Adam Hoover

ISBN-10: 0136067123

ISBN-13: 9780136067122

Category: Systems Analysis and Design - Programming

Beginning computing students often finish the introduction to programming course without having had exposure to various system tools, without knowing how to optimize program performance and without understanding how programs interact with the larger computer system.\ Adam Hoover's System Programming with C and Unix introduces students to commonly used system tools (libraries, debuggers, system calls, shells and scripting languages) and then explains how to utilize these tools to optimize...

Search in google:

KEY BENEFIT: A conceptual approach to C and Unix programming with hands-on examples. KEY TOPICS: Readers are introduced to commonly used system tools (libraries, debuggers, system calls, shells and scripting languages) and an explanation of how to utilize these tools to optimize program development. The text also examines lower level data types with an emphasis on memory and understanding how and why different data types are used. MARKET: Ideal for introductory programmers.

Preface ix1 Introduction 11.1 What is System Programming? 11.2 The Three Tools 51.3 How to Debug 201.4 Program Development 311.5 Review of C 35Questions and Exercises 412 Bits, Bytes, and Data Types 452.1 Bit Models 452.2 Bitwise Operations 572.3 Memory Map 65Questions and Exercises 683 Arrays and Strings 733.1 Arrays 743.2 Strings 793.3 String Library Functions 833.4 Command Line Arguments 92Questions and Exercises 944 Pointers and Structures 1034.1 Pointers 1034.2 Using Pointers 1084.3 Structures 1184.4 Using Structures 121Questions and Exercises 1275 Input/Output 1355.1 Streams 1365.2 Buffers 1435.3 Pipes 1455.4 Files 1535.5 Devices 161Questions and Exercises 1646 Program Management 1716.1 Program Building 1726.2 Code Organization 1856.3 Program Distribution Methods 201Questions and Exercises 2047 System Calls 2137.1 Families of Operations 2147.2 Libraries and System Calls 2157.3 Process System Calls 2177.4 Signal System Calls 2297.5 Socket System Calls 236Questions and Exercises 2518 Libraries 2558.1 Using a Library 2568.2 Purpose of Libraries 2618.3 The C Standard Library 2638.4 The Curses Library 2658.5 The X Library 2758.6 Making a Library 2888.7 Library Pitfalls 291Questions and Exercises 2929 Scripting Languages 2999.1 Using Scripting Languages 3019.2 Shell Scripting 3059.3 Perl 3209.4 MATLAB 3339.5 Discussion 347Questions and Exercises 348A ASCII Table 351B Common Shell Commands 355C System Programs 357Index 361