Simple and Practical Linux Programming
This course is not to make you a Linux guru. But to show you, how simple
it is to write interesting and useful programs in Linux. You can interact
with embedded devices from a Linux system through serial or USB ports.
You can establish communication between two programs running
on a Linux system. You can also establish communication between two or
more programs that are running on different Linux systems.
you can also try simple and interesting graphics programs on Linux.
However be aware that, you may like Linux programming so much, and you
may become Linux guru in the future.
This course should be taken after C programming. So second year or
third year should be fine for this.
Introduction to Linux OS and Linux Kernel
- Linux OS vs Linux Kernel
- Library functions Vs System calls
- Program concepts
Accessing Files
- Accessing files using System calls
- Accessing files using standard I/O functions
Accessing I/O devices
- Devices connected to Serial port
- Controlling serial communication
Creating Processes (Multi-processing)
- Program Vs Process
- Creating new processes
- Waiting for new process to complete
- Loading executable file in to new process
Simple Inter Process Communication (IPC)
- Communication between Processes
- Communicating between processes using FIFO
- Communicating between processes using message queues
Simple Network Programming
- Socket concepts
- Datagram (UDP) communication
- Stream (TCP) communication
Simple Graphics Programming using SDL
- Understanding and using SDL library functions
- Simple programs using SDL graphics