Coder Social home page Coder Social logo

ols3er / hands-on-system-programming-with-linux Goto Github PK

View Code? Open in Web Editor NEW

This project forked from packtpublishing/hands-on-system-programming-with-linux

0.0 0.0 0.0 555 KB

Hands-On System Programming with Linux, Kaiwan N Billimoria, published by Packt

License: MIT License

Makefile 27.96% C 68.86% Shell 3.18%

hands-on-system-programming-with-linux's Introduction

Hands-On System Programming with Linux

Hands-On System Programming with Linux

This is the code repository for Hands-On System Programming with Linux, published by Packt.

Explore Linux system programming interfaces, theory, and practice

What is this book about?

The Linux OS and its embedded and server applications are critical components of today’s software infrastructure in a decentralized, networked universe. The industry's demand for proficient Linux developers is only rising with time. Hands-On System Programming with Linux gives you a solid theoretical base and practical industry-relevant descriptions, and covers the Linux system programming domain. It delves into the art and science of Linux application programming— system architecture, process memory and management, signaling, timers, pthreads, and file IO.

This book covers the following exciting features:

  • Explore the theoretical underpinnings of Linux system architecture
  • Understand why modern OSes use virtual memory and dynamic memory APIs
  • Get to grips with dynamic memory issues and effectively debug them
  • Learn key concepts and powerful system APIs related to process management
  • Effectively perform file IO and use signaling and timers Deeply understand multithreading concepts, pthreads APIs, synchronization and scheduling

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

  • ch'n'/ : a directory for each chapter, named as ch'n' ; (n=1, 2, ..., 18), A_fileio, B_daemon. Each chapter directory will further contain:

    • the source code: Makefile, 'C' source and header files for that chapter
    • a text file named in the format assignment_ch'n'.txt ; which of course will contain all prescribed assignments to the reader for this chapter.
  • solutions_to_assgn/ch'n' : a directory, which will contain only selected solutions to assignments prescribed. The assignments themselves are in the ch'n' directory with the name assignment_ch'n'.txt. The solutions are organized by chapter, each chapter (that requires this) will have a directory within which you can find selected solutions. The 'solutions' are mostly in the form of code (along with the associated Makefile, if required); on occasion, the assignment is a "question type" and the answer can be found in a text file named as ch'n'_solutions.txt .

  • Hardware_Software_List.pdf : details on the hardware and software requirements for getting the best experience with working with the book's codebase [download link].

  • the Further_reading.md file : details, in a chapter-wise manner, useful online references as well as books; these will benefit the reader in learning more [download link].

We definitely encourage the reader to clone (and try out the code!) like so:

git clone https://github.com/PacktPublishing/Hands-on-System-Programming-with-Linux

Once cloned, we suggest you first browse through the Hardware_Software_List.pdf file; it details the hardware and software requirements for getting the best experience with working with the book's codebase. It mentions which packages are required, which are optional, and, wherever possible, how to install it.

Next, we suggest you proceed to build and try out the code examples. Also, a lot can be learned by working on the prescribed assignments for each chapter.

The code will look like the following:

include <pthread.h>
int pthread_mutexattr_gettype(const pthread_mutexattr_t *restrict attr,     int *restrict type);
int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type);

Following is what you need for this book: Hands-On System Programming with Linux is for Linux system engineers, programmers, or anyone who wants to go beyond using an API set to understanding the theoretical underpinnings and concepts behind powerful Linux system programming APIs. To get the most out of this book, you should be familiar with Linux at the user-level logging in, using shell via the command line interface, the ability to use tools such as find, grep, and sort. Working knowledge of the C programming language is required. No prior experience with Linux systems programming is assumed.

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know the Author

Kaiwan N Billimoria taught himself programming on his dad's IBM PC back in 1983. He was programming in C and Assembly on DOS until he discovered the joys of Unix (via Richard Steven's iconic book, UNIX Network Programming, and by writing C code on SCO Unix). Kaiwan has worked on many aspects of the Linux system programming stack, including Bash scripting, system programming in C, kernel internals, and embedded Linux work. He has actively worked on several commercial/OSS projects. His contributions include drivers to the mainline Linux OS, and many smaller projects hosted on GitHub. His Linux passion feeds well into his passion for teaching these topics to engineers, which he has done for over two decades now. It doesn't hurt that he is a recreational ultra-marathoner too.

Other books by the authors

Suggestions and Feedback

Click here if you have any feedback or suggestions.

hands-on-system-programming-with-linux's People

Contributors

kaiwan avatar packt-itservice avatar rutujapatade avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.