An edition of Linux System Programming (2007)

Linux System Programming

  • 0 Ratings
  • 9 Want to read
  • 1 Currently reading
  • 0 Have read
Not in Library

My Reading Lists:

Create a new list

Check-In

×Close
Add an optional check-in date. Check-in dates are used to track yearly reading goals.
Today

  • 0 Ratings
  • 9 Want to read
  • 1 Currently reading
  • 0 Have read


Download Options

Buy this book

Last edited by ImportBot
December 20, 2023 | History
An edition of Linux System Programming (2007)

Linux System Programming

  • 0 Ratings
  • 9 Want to read
  • 1 Currently reading
  • 0 Have read

This book is about writing software that makes the most effective use of the system you're running on -- code that interfaces directly with the kernel and core system libraries, including the shell, text editor, compiler, debugger, core utilities, and system daemons. The majority of both Unix and Linux code is still written at the system level, and Linux System Programming focuses on everything above the kernel, where applications such as Apache, bash, cp, vim, Emacs, gcc, gdb, glibc, ls, mv, and X exist.Written primarily for engineers looking to program (better) at the low level, this book is.

Publish Date
Publisher
O'Reilly Media
Language
English
Pages
400

Buy this book

Previews available in: English

Edition Availability
Cover of: Linux System Programming
Linux System Programming
Jul 01, 2014, Shroff Publishers & Distributors Pvt Ltd
paperback
Cover of: Linux System Programming
Cover of: Linux System Programming
Linux System Programming: Talking Directly to the Kernel and C Library
Jun 08, 2013, O'Reilly Media
Paperback in English - Second edition
Cover of: Linux System Programming
Linux System Programming
2009, O'Reilly Media
electronic resource in English
Cover of: Linux System Programming
Linux System Programming: Talking Directly to the Kernel and C Library
September 18, 2007, O'Reilly Media
Paperback in English
Cover of: Linux System Programming
Linux System Programming
2007, O'Reilly
in English - 1st Edition
Cover of: Linux System Programming

Add another edition?

Book Details


Table of Contents

Linux System Programming; Preface; Contents of This Book; Versions Covered in This Book; Conventions Used in This Book; Safari® Books Online; Using Code Examples; How to Contact Us; Acknowledgments; 1. Introduction and Essential Concepts; The C Library; The C Compiler; Apis and Abis; Abis; Standards; C Language Standards; Linux and the Standards; This Book and the Standards; Concepts of Linux Programming; Directories and links; Hard links; Symbolic links; Special files; Filesystems and namespaces; Processes; Process hierarchy; Users and Groups; Permissions; Signals; Interprocess Communication.
HeadersError Handling; Getting Started with System Programming; 2. File I/O; Owners of New Files; Permissions of New Files; The creat( ) Function; Return Values and Error Codes; Reading via read( ); Reading All the Bytes; Nonblocking Reads; Other Error Values; Size Limits on read( ); Writing with write( ); Append Mode; Nonblocking Writes; Other Error Codes; Size Limits on write( ); Behavior of write( ); Synchronized I/O; sync( ); The O_Sync Flag; O_Dsync and O_Rsync; Direct I/O; Closing Files; Seeking with lseek( ); Error Values; Limitations; Positional Reads and Writes; Truncating Files.
Multiplexed I/Oselect( ) example; Portable sleeping with select( ); pselect( ); poll( ); poll( ) example; ppoll( ); poll( ) Versus select( ); Kernel Internals; The Page Cache; Page Writeback; Conclusion; 3. Buffered I/O; Standard I/O; Opening Files; Opening a Stream via File Descriptor; Closing Streams; Reading from a Stream; Reading an Entire Line; Reading Binary Data; Writing to a Stream; Writing a String of Characters; Writing Binary Data; Sample Program Using Buffered I/O; Seeking a Stream; Flushing a Stream; Errors and End-of-File; Obtaining the Associated File Descriptor.
Controlling the BufferingThread Safety; Unlocked Stream Operations; Critiques of Standard I/O; Conclusion; 4. Advanced File I/O; writev( ) example; readv( ) example; Implementation; The Event Poll Interface; Controlling Epoll; Waiting for Events with Epoll; Edge- Versus Level-Triggered Events; Mapping Files into Memory; getpagesize( ); Page_Size; Return values and error codes; Associated signals; munmap( ); Mapping Example; Advantages of mmap( ); Disadvantages of mmap( ); Resizing a Mapping; Changing the Protection of a Mapping; Synchronizing a File with a Mapping; Giving Advice on a Mapping.
Advice for Normal File I/Othe readahead( ) System Call; Advice Is Cheap; Synchronized, Synchronous, and Asynchronous Operations; I/O Schedulers and I/O Performance; The Life of an I/O Scheduler; Helping Out Reads; The Anticipatory I/O Scheduler; The Cfq I/O Scheduler; The Noop I/O Scheduler; Selecting and Configuring Your I/O Scheduler; Optimizing I/O Performance; Sorting by inode; Sorting by physical block; Conclusion; 5. Process Management; The Process Hierarchy; pid_t; Obtaining the Process Id and Parent Process Id; Running a New Process; Error values; The fork( ) System Call; vfork( )
Terminating a Process.

Edition Notes

Description based upon print version of record.

Access available to onsite users at SLQ, e-services members and Queensland public library (QPL) account holders.

Published in
Sebastopol

Classifications

Dewey Decimal Class
005.46
Library of Congress
QA76.76.O63L674 2007

The Physical Object

Format
electronic resource
Pagination
1 online resource (400 p.)
Number of pages
400

ID Numbers

Open Library
OL27071377M
Internet Archive
linuxsystemsprog00love
ISBN 10
059655513X
ISBN 13
9780596555139
OCLC/WorldCat
781297167

Community Reviews (0)

Feedback?
No community reviews have been submitted for this work.

Lists

This work does not appear on any lists.

History

Download catalog record: RDF / JSON
December 20, 2023 Edited by ImportBot import existing book
December 19, 2023 Edited by ImportBot import existing book
June 19, 2022 Edited by bitnapper Edited without comment.
June 17, 2022 Edited by bitnapper Merge works
December 10, 2009 Created by WorkBot add works page