• Complain

Sri Manikanta Palakollu - Practical System Programming with C: Pragmatic Example Applications in Linux and Unix-Based Operating Systems

Here you can read online Sri Manikanta Palakollu - Practical System Programming with C: Pragmatic Example Applications in Linux and Unix-Based Operating Systems full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2020, publisher: Apress, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Sri Manikanta Palakollu Practical System Programming with C: Pragmatic Example Applications in Linux and Unix-Based Operating Systems
  • Book:
    Practical System Programming with C: Pragmatic Example Applications in Linux and Unix-Based Operating Systems
  • Author:
  • Publisher:
    Apress
  • Genre:
  • Year:
    2020
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

Practical System Programming with C: Pragmatic Example Applications in Linux and Unix-Based Operating Systems: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Practical System Programming with C: Pragmatic Example Applications in Linux and Unix-Based Operating Systems" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

This book teaches system programming with the latest versions of C through a set of practical examples and problems. It covers the development of a handful of programs, implementing efficient coding examples.

Practical System Programming with C contains three main parts: getting your hands dirty with multithreaded C programming; practical system programming using concepts such as processes, signals, and inter-process communication; and advanced socket-based programming which consists of developing a network application for reliable communication.

You will be introduced to a marvelous ecosystem of system programming with C, from handling basic system utility commands to communicating through socket programming. With the help of socket programming you will be able to build client-server applications in no time.

The secret sauce of this book is its curated list of topics and solutions, which fit together through a set of different pragmatic examples; each topic is covered from scratch in an easy-to-learn way. On that journey, youll focus on practical implementations and an outline of best practices and potential pitfalls. The book also includes a bonus chapter with a list of advanced topics and directions to grow your skills.

What You Will Learn

  • Program with operating systems using the latest version of C
  • Work with Linux
  • Carry out multithreading with C
  • Examine the POSIX standards
  • Work with files, directories, processes, and signals
  • Explore IPC and how to work with it

Who This Book Is For

Programmers who have an exposure to C programming and want to learn system programming. This book will help them to learn about core concepts of operating systems with the help of C programming.

.

Sri Manikanta Palakollu: author's other books


Who wrote Practical System Programming with C: Pragmatic Example Applications in Linux and Unix-Based Operating Systems? Find out the surname, the name of the author of the book and a list of all author's works by series.

Practical System Programming with C: Pragmatic Example Applications in Linux and Unix-Based Operating Systems — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Practical System Programming with C: Pragmatic Example Applications in Linux and Unix-Based Operating Systems" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Contents
Landmarks
Sri Manikanta Palakollu Practical System Programming with C Pragmatic Example - photo 1
Sri Manikanta Palakollu
Practical System Programming with C
Pragmatic Example Applications in Linux and Unix-Based Operating Systems
1st ed.
Sri Manikanta Palakollu freelance Hanuman Junction Hanuman Junction 521105 - photo 2
Sri Manikanta Palakollu
freelance, Hanuman Junction, Hanuman Junction, 521105, Andhra Pradesh, India

Any source code or other supplementary material referenced by the author in this book is available to readers on GitHub via the books product page, located at www.apress.com/9781484263204 . For more detailed information, please visit http://www.apress.com/source-code .

ISBN 978-1-4842-6320-4 e-ISBN 978-1-4842-6321-1
https://doi.org/10.1007/978-1-4842-6321-1
Sri Manikanta Palakollu 2021
This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.
The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use.
The publisher, the authors and the editors are safe to assume that the advice and information in this book are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or the editors give a warranty, expressed or implied, with respect to the material contained herein or for any errors or omissions that may have been made. The publisher remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Distributed to the book trade worldwide by Apress Media, LLC, 1 New York Plaza, New York, NY 10004, U.S.A. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.
Introduction
The main goal of this book is to introduce system programming using the C language. The topics covered in this book teach you how to programmatically manipulate Linux and POSIX-based operating systems. The wide variety of topics include
  • The basics of the Linux operating system

  • Multithreaded programming in C

  • Deadlocks

  • An introduction to POSIX standards

  • The need for processes and signals

  • Various IPC techniques

  • Developing client-server architecture using TCP and UDP protocols

The prerequisites for learning the concepts discussed in this book are
  • A basic knowledge of the C programming language

  • A basic knowledge of operating systems

Acknowledgments

I would like to thank my savior, the Lord Jesus Christ, for giving me the strength, knowledge, wisdom, and ability to write this book. I would like to express my deepest gratitude to the Apress team: Steve Anglin (Acquisition Editor), Mark Powers (Coordinating Editor), and Matthew Moodie (Development Editor) for giving me this opportunity and providing constant support during the entire development process. Thanks to my technical reviewer for his efforts in reviewing this book.

Special thanks to my friends Sai Vardhan Poloju, Aravind Medamoni, Vamsi Thanjagari, and PTS Vaishnavi for helping me during this journey.

Thanks to my spiritual parents, Rev. Amos Varma and Amrutha, for their constant prayer support and love. I would like to thank my parents, Basaveswara Rao and Vijaya Lakshmi, for their love and support. I thank my brother Santhosh and my sister Sri Lakshmi for helping me design the diagrams in this book.

Sri Manikanta Palakollu

Table of Contents
About the Author
Sri Manikanta Palakollu

is a programmer and software developer with experience in C, C++, Java, and Python as well as Linux and POSIX-based systems-level programming. He is a tech reviewer for various tech book publishers. He has written many technical articles on data science, programming, and cybersecurity. Sri Manikanta has won a national-level hackathon and contributes to various open source projects.

Sri Manikanta Palakollu 2021
S. M. Palakollu Practical System Programming with C https://doi.org/10.1007/978-1-4842-6321-1_1
1. Introduction to the Linux Environment
Sri Manikanta Palakollu
(1)
freelance, Hanuman Junction, Hanuman Junction, 521105, Andhra Pradesh, India

Linux is an open source, Unix-like operating system based on the Linux kernel. It was developed by Linus Torvalds in 1991. It is used in personal computers, mainframe computers, supercomputers, Android mobile devices, routers, and embedded systems. Linux is a very lightweight and powerful kernel that effectively communicates with software programs through any kind of hardware.

The growth of Linux is increasing with the relative growth of technology. IoT devices like Raspberry PI use the Linux kernel with a variety of Linux distributions. Since Linux is open source, you can modify the source code as you require. There are more than 500 active Linux distributions (a.k.a. distros) available on the market; most of them are free. Some distributions require payment for advanced features. The best examples of Linux kernel-based distros are Ubuntu, Linux Mint, Fedora, Debian, and Arch Linux.

This chapter discusses the following topics.
  • The Linux architecture

  • Kernel types

  • Linux kernel vs. other OS kernels

  • File handling utilities

  • Process utilities

  • Backup utilities

Getting Familiar with the Linux Architecture
The Linux architecture consists of four layers (see Figure ).
  • Hardware layer

  • Kernel

  • Shell

  • System library

Figure 1-1 Linux architecture Table 1-1 File Permission Modes Octal - photo 3
Figure 1-1

Linux architecture

Table 1-1

File Permission Modes

Octal

Binary

File Mode

--

--x

-w

-wx

r-

r-x

rw

rwx

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Practical System Programming with C: Pragmatic Example Applications in Linux and Unix-Based Operating Systems»

Look at similar books to Practical System Programming with C: Pragmatic Example Applications in Linux and Unix-Based Operating Systems. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Practical System Programming with C: Pragmatic Example Applications in Linux and Unix-Based Operating Systems»

Discussion, reviews of the book Practical System Programming with C: Pragmatic Example Applications in Linux and Unix-Based Operating Systems and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.