13MCA351 UNIX system Programming syllabus for MCA


Unit-1 Introduction 6 hours

UNIX and ANSI Standards: The ANSI C Standard, The ANSI/ISO C++ Standards,Difference between ANSI C and C++, The POSIX Standards, The POSIX.1 FIPS Standard,The X/Open Standards. UNIX and POSIX APIs: The POSIX APIs, The UNIX and POSIXDevelopment Environment, API Common Characteristics.

Unit-2 UNIX Files 6 hours

File Types, The UNIX and POSIX File System, The UNIX and POSIX File Attributes, Inodesin UNIX System V, Application Program Interface to Files, UNIX Kernel Support forFiles, Relationship of C Stream Pointers and File Descriptors, Directory Files, Hard andSymbolic Links.

Unit-3 UNIX File APIs 7 hours

General File APIs, File and Record Locking, Directory File APIs, Device File APIs, FIFOFile APIs, Symbolic Link File APIs, General File Class, regfile Class for Regular Files,dirfile Class for Directory Files, FIFO File Class, Device File Class, Symbolic Link FileClass, File Listing Program.

Unit-4 UNIX Processes 7 hours

The Environment of a UNIX Process: Introduction, main function, ProcessTermination, Command-Line Arguments, Environment List, Memory Layout of a CProgram, Shared Libraries, Memory Allocation, Environment Variables, setjmp and longjmpFunctions, getrlimit, setrlimit Functions, UNIX Kernel Support for Processes.

Unit-5 Process Control 7 hours

Introduction, Process Identifiers, fork, vfork, exit, wait, waitpid, waited, wait3, wait4Functions, Race Conditions, exec Functions, Changing User IDs and Group IDs, InterpreterFiles, system Function, Process Accounting, User Identification, Process Times. ProcessRelationships: Introduction, Terminal Logins, Network Logins, Process Groups,Sessions, Controlling Terminal, tcgetpgrp, tcsetpgrp, and tcgetsid Functions, Job Control,Shell Execution of Programs, Orphaned Process Groups.

Unit-6 Signals and Daemon Processes 7 hours

Signals: The UNIX Kernel Support for Signals, signal, Signal Mask, sigaction, TheSIGCHLD Signal and the waitpid Function, The sigsetjmp and siglongjmp Functions, Kill,Alarm, Interval Timers, POSIX.lb Timers. Daemon Processes: Introduction, DaemonCharacteristics, Coding Rules, Error Logging, Single- instance daemons; Daemonconventions; Client-Server Model.

Unit-7 Interprocess Communication 6 hours

Introduction; Pipes, popen, pclose Functions; Coprocesses; FIFOs; XSI IPC; MessageQueues; Semaphores

Unit-8 Network IPC: Sockets 6 hours

Introduction; Socket Descriptors; Addressing; Connection establishment; Data transfer;Socket options; Out-of-band data; Nonblocking and asynchronous I/O.

Last Updated: Tuesday, January 24, 2023