C Programming Tutorial 3: Control Flow Statements and Functions
A C program comprises of global data and functions. A program must have a main function and the execution starts at the first statement in the main function. A function…
A C program comprises of global data and functions. A program must have a main function and the execution starts at the first statement in the main function. A function…
Data is an important part of a program. In fact, programs are written so that data can be captured, processed, stored and presented to the user. The success of a…
C is a procedural programming language invented by Dennis Ritchie in 1972. C has been the most widely used programming language in the last fifty years. There are some unique…
I/O multiplexing I/O multiplexing is the the ability to perform I/O operations on multiple file descriptors. Input operations like read, accept and calls for receiving messages block when there is…
Signals Signals are notifications delivered asynchronously to a process by the kernel. Signals are grouped in two categories. First, there are standard signals, which have been there since the early…
Temporary Files Quite often, we need temporary files in our programs. Some intermediate data needs to be stored and the file can be discarded when the process terminates. There are…
Unix domain sockets (UDS) are used for inter-process communication (IPC) between processes running on the same host system. The API for Unix domain sockets is similar to that used for…
Input and Output (I/O) All programs need to interact with the external world which makes I/O important. Programs store data in files which provide large persistent storage. In this post…
Files There are two basic concepts in Unix - processes and files. The processes do things and files keep all the important data. An efficient filesystem is important for an…
1.0 Introduction Raspberry Pi 4B has a Display Serial Interface (DSI) port for connecting a Raspberry Pi touchscreen display using a ribbon cable. In this post we will look at…