This course introduces the participants to system level programming in the C language in a HP-UX environment. The course focuses on HP-UX system calls and library functions, how to use them, and their underlying mechanisms. The course deals with many facets of the HP-UX operating system, including: introduction to UNIX kernel structure, I/O, Signals, Signal handlers, Timers, Processes, Multi-Tasking, Inter-Process Communication (IPC) Pipes, Shared memory, Message Queues, Semaphores, Networking, Sockets, using TCP/IP and UDP/IP.Throughout the course the information presented is related to the participant through: the execution of common HP-UX user/administrator commands, and writing, compiling, and executing example C language programs which demonstrate the use of system routines and accessing system data structures on a live HP-UX system.
It is assumed that the participant has a solid background in basic HP-UX utilities and editors (such as vi), and a working knowledge of the C (or C++) programming language(s).
5 Days/Lecture & Lab
- System Programming Environment of the HP-UX Operating System
- File Systems
- Process Creation and Control
- Synchronization and System Information
- Interprocess Data Communication Facilities
- Sharing Code between Processes