Book Details

Unix System Programming

Unix System Programming

Published by uLektz

Course Code : 10CS62
Author : uLektz
University : Visvesvaraya Technological University, Karnataka (VTU)
Regulation : 2010
Categories : Computer Science
Format : ico_bookePUB3 (DRM Protected)
Type :

eBook

FREE

Buy Now

Description :Unix System Programming of 10CS62 covers the latest syllabus prescribed by Visvesvaraya Technological University, Karnataka (VTU) for regulation 2010. Author: uLektz, Published by uLektz Learning Solutions Private Limited.

Note : No printed book. Only ebook. Access eBook using uLektz apps for Android, iOS and Windows Desktop PC.

Topics
Unit – 1 Introduction to UNIX and ANSI Standards

1.1 The ANSI C Standard - The ANSI/ISO C++ Standards - Difference between ANSI C and C++

1.2 The POSIX Standards - The POSIX.1 FIPS Standard - The X/Open Standards.

1.3 UNIX and POSIX APIs - The POSIX APIs - The UNIX and POSIX Development Environment - API Common Characteristics.

Unit – 2 UNIX Files

2.1 File Types

2.2 The UNIX and POSIX File System - The UNIX and POSIX File Attributes - Inodes in UNIX System V - Application Program Interface to Files - UNIX Kernel Support for Files - Relationship of C Stream Pointers and File Descriptors, Directory Files - Hard and Symbolic Links.

Unit – 3 UNIX File APIs

3.1 General File APIs - File and Record Locking - Directory File APIs - Device File APIs - FIFO File APIs - Symbolic Link File APIs

3.2 General File Class - regfile Class for Regular Files - dirfile Class for Directory Files - FIFO File Class - Device File Class - Symbolic Link File Class

3.3 File Listing Program.

Unit – 4 UNIX Processes

4.1 The Environment of a UNIX Process - Introduction - main function - Process Termination - Command-Line Arguments - Environment List

4.2 Memory Layout of a C Program - Shared Libraries - Memory Allocation

4.3 Environment Variables - setjmp and longjmp Functions - Getrlimit - setrlimit Functions

4.4 UNIX Kernel Support for Processes.

Unit – 5 Process Control

5.1 Introduction - Process Identifiers - Fork, vfork, exit, wait, waitpid, wait3, wait4 Functions - Race Conditions, exec Functions - Changing User IDs and Group IDs - Interpreter Files

5.2 System Function - Process Accounting - User Identification - Process Times - I/O Redirection.

5.3 Process Relationships: Introduction - Terminal Logins - Network Logins - Process Groups - Sessions - Controlling Terminal - tcgetpgrp and tcsetpgrp Functions

5.4 Job Control - Shell Execution of Programs - Orphaned Process Groups.

Unit – 6 Signals and Daemon Processes

6.1 Signals - The UNIX Kernel Support for Signals - signal, Signal Mask, sigaction - The SIGCHLD Signal and the waitpid Function - The sigsetjmp and siglongjmp Functions

6.2 Kill - Alarm - Interval Timers - POSIX.lb Timers.

6.3 Daemon Processes - Introduction - Daemon Characteristics - Coding Rules - Error Logging - Client-Server Model.

Unit – 7 Interprocess Communication – 1

7.1 Overview of IPC Methods - Pipes - popen, pclose Functions, Coprocesses

7.2 FIFOs

7.3 System V IPC - Message Queues, Semaphores.

Unit – 8 Interprocess Communication – 2

8.1 Shared Memory - Client-Server Properties

8.2 Stream Pipes - Passing File Descriptors

8.3 An Open Server-Version 1 - Client-Server Connection Functions.

loading