Linux Application Development
Home > Computing and Information Technology > Linux Application Development
Linux Application Development

Linux Application Development

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

"The first edition of this book has always been kept within arm's reach of my desk due to the wonderful explanations of all areas of the Linux userspace API. This second edition greatly overshadows the first one, and will replace it." --Greg Kroah-Hartman, Linux kernel programmer Develop Software that Leverages the Full Power of Today's Linux Linux Application Development, Second Edition, is the definitive reference for Linux programmers at all levels of experience, including C programmers moving from other operating systems. Building on their widely praised first edition, leading Linux programmers Michael Johnson and Erik Troan systematically present the key APIs and techniques you need to create robust, secure, efficient software or to port existing code to Linux. This book has been fully updated for the Linux 2.6 kernel, GNU C library version 2.3, the latest POSIX standards, and the Single Unix Specification, Issue 6. Its deep coverage of Linux-specific extensions and features helps you take advantage of the full power of contemporary Linux. Along the way, the authors share insights, tips, and tricks for developers working with any recent Linux distribution, and virtually any version of Unix. Topics include Developing in Linux: understanding the operating system, licensing, and documentation The development environment: compilers, linker and loader, and unique debugging tools System programming: process models, file handling, signal processing, directory operations, and job control Terminals, sockets, timers, virtual consoles, and the Linux console Development libraries: string matching, terminal handling, command-line parsing, authentication, and more Hundreds of downloadable code samples New to this edition The GNU C library (glibc), underlying standards, and test macros Writing secure Linux programs, system daemons, and utilities Significantly expanded coverage of memory debugging, including Valgrind and mpr Greatly improved coverage of regular expressions IPv6 networking coverage, including new system library interfaces for using IPv6 and IPv4 interchangeably Coverage of strace, ltrace, real-time signals, poll and epoll system calls, popt library improvements, Pluggable Authentication Modules (PAM), qdbm, and much more Improved index and glossary, plus line-numbered code examples

Table of Contents:
List of Tables. Code Examples. Preface. I. GETTING STARTED. 1. History of Linux Development.     A Short History of Free Unix Software.     Development of Linux.     Notional Lineage of Unix Systems.     Linux Lineage. 2. Licenses and Copyright.     Copyright.     Licensing.     Free Software Licenses. 3. Online System Documentation.     The man Pages.     The Info Pages.     Other Documentation. II. DEVELOPMENT TOOLS AND ENVIRONMENT. 4. Development Tools.     Editors.     Make.     The GNU Debugger.     Tracing Program Actions. 5. gcc Options and Extensions.     gcc Options.     Header Files. 6. The GNU C Library.     Feature Selection.     POSIX Interfaces.     Compatibility. 7. Memory Debugging Tools.     Buggy Code.     Memory-Checking Tools Included in glibc.     Finding Memory Leaks with mpr.     Investigating Memory Errors with Valgrind.     Electric Fence. 8. Creating and Using Libraries.     Static Libraries.     Shared Libraries.     Designing Shared Libraries.     Building Shared Libraries.     Installing Shared Libraries.     Using Shared Libraries. 9. Linux System Environment.     The Process Environment.     Understanding System Calls.     Finding Header and Library Files. III. SYSTEM PROGRAMMING. 10. The Process Model.     Defining a Process.     Process Attributes.     Process Information.     Process Primitives.     Simple Children.     Sessions and Process Groups.     Introduction to l a d s h.     Creating Clones. 11. Simple File Handling.     The File Mode.     Basic File Operations.     Querying and Changing Inode Information.     Manipulating Directory Entries.     Manipulating File Descriptors.     Creating Unnamed Pipes.     Adding Redirection to l a d s h. 12. Signal Processing.     Signal Concepts.     The Linux (and POSIX) Signal API.     Available Signals.     Writing Signal Handlers.     Reopening Log Files.     Real-Time Signals.     Learning About a Signal. 13. Advanced File Handling.     Input and Output Multiplexing.     Memory Mapping.     File Locking.     Alternatives to read() and write(). 14. Directory Operations.     The Current Working Directory.     Changing the Root Directory.     Creating and Removing Directories.     Reading a Directory's Contents.     File Name Globbing.     Adding Directories and Globbing to ladsh.     Walking File System Trees.     Directory Change Notification. 15. Job Control.     Job Control Basics.     Job Control in ladsh. 16. Terminals and Pseudo Terminals.     tty Operations.     termios Overview.     termios Examples.     termios Debugging.     termios Reference.     Pseudo ttys. 17. Networking with Sockets.     Protocol Support.     Utility Functions.     Basic Socket Operations.     Unix Domain Sockets.     Networking Machines with TCP/IP.     Using UDP Datagrams.     Socket Errors.     Legacy Networking Functions. 18. Time.     Telling Time and Dates.     Using Timers. 19. Random Numbers.     Pseudo-Random Numbers.     Cryptography and Random Numbers. 20. Programming Virtual Consoles.     Getting Started.     Beeping.     Determining Whether the Terminal Is a VC.     Finding the Current VC.     Managing VC Switching.     Example: The open Command. 21. The Linux Console.     Capability Databases.     Glyphs, Characters, and Maps.     Linux Console Capabilities.     Direct Screen Writing. 22. Writing Secure Programs.     When Security Matters.     Minimizing the Opportunity for Attack.     Common Security Holes.     Running as a Daemon. IV. DEVELOPMENT LIBRARIES. 23. String Matching.     Globbing Arbitrary Strings.     Regular Expressions. 24. Terminal Handling with S-Lang.     Input Handling.     Output Handling. 25. A Hashed Database Library.     Overview.     Basic Operations.     Reading Records.     Modifying the Database.     Example. 26. Parsing Command-Line Options.     The Option Table.     Using the Option Table.     Using Callbacks.     Error Handling.     Option Aliasing.     Parsing Argument Strings.     Handling Extra Arguments.     Sample Application. 27. Dynamic Loading at Run Time.     The dl Interface. 28. User Identification and Authentication.     ID-to-Name Translation.     Pluggable Authentication Modules. APPENDICES. Appendix A. Header Files. Appendix B. ladsh Source Code. Glossary. Bibliography. Index.


Best Sellers


Product Details
  • ISBN-13: 9780321219145
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison-Wesley Educational Publishers Inc
  • Height: 244 mm
  • No of Pages: 736
  • Weight: 1318 gr
  • ISBN-10: 0321219147
  • Publisher Date: 25 Nov 2004
  • Binding: Hardback
  • Language: English
  • Spine Width: 37 mm
  • Width: 195 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Linux Application Development
Pearson Education (US) -
Linux Application Development
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Linux Application Development

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!