Welcome to SoftPrayog.in

What's new
C Programming Tutorial 3: Control Flow and Functions
C Programming Tutorial 4: Pointers and Arrays
A tutorial on basic concepts and usage of pointers and arrays in the C programming language.
C Programming Tutorial 3: Control Flow and Functions
C Programming Tutorial 3: Control Flow and Functions
A tutorial on control flow statements and functions in C programming language.
C Programming Tutorial – Getting Started
C Programming Tutorial 2: Data Types and Expressions
A beginner level tutorial on data types, operators and expressions in C language.
C Programming Tutorial – Getting Started
C Programming Tutorial 1 – Getting Started
The first part of a beginner level tutorial for C language.
I/O multiplexing with select, poll and epoll
I/O multiplexing: select, poll and epoll in Linux
I/O multiplexing is the the ability to perform I/O operations on multiple file descriptors. select and poll calls and the epoll API help in I/O multiplexing.
Signals with info
POSIX real-time signals in Linux
POSIX real-time signals add to the functionality of standard signals in Linux. POSIX real-time signals can be queued to a process.
Temporary file
How to create a temporary file in Linux
mkstemp and tmpfile functions are used for creating temporary files.
POSIX message queues
POSIX message queues in Linux
POSIX message queues provide a fast and easy mechanism for interprocess communication (IPC) in Linux.
POSIX shared memory
POSIX Shared Memory in Linux
Shared memory is the fastest method of interprocess communication in Linux systems.
POSIX semaphores
POSIX Semaphores in Linux
POSIX Semaphores are used for process synchronization.
D-Bus Tutorial
D-Bus is a mechanism for interprocess communication under Linux and other Unix-like systems.
htop command in Linux
htop is a ncurses based program for viewing processes in a system running Linux.
Server and clients
Socket programming using the select system call
Socket programming calls using the Client Server paradigm and example programs are given.
fork and exec in Linux
fork and exec system calls in Linux
The fork system call creates a new child process. The child process uses an exec call to run a program.
Two processes connected with a pipe
Pipes in Linux
Pipes can be used to connect standard output of a process to the standard input of a related process.
Interprocess communication using fifo
FIFOs in Linux
FIFOs are named pipes. Any two processes can communicate using a FIFO.
Message queue
System V message queues in Linux
System V message queues provide a mechanism for inter process communication (IPC) in Linux and other Unix-like systems.
System V Semaphores in Linux
System V semaphores are kernel managed objects that help in synchronization of processes.
Server and clients using shared memory
Interprocess communication using System V Shared Memory in Linux
System V shared memory is a fast inter process communication (IPC) mechanism available in Linux and other Unix-like systems.
POSIX Threads Synchronization in C
POSIX Threads provide multiple flows of execution within a process.
Client server system
Socket Programming using TCP in C
A socket is a network communication end point at a host. Processes communicate over sockets.