C Programming Tutorial 4: Pointers and Arrays
Pointers and arrays are the most important concepts in the C programming language. The power of C comes from pointers; the ease with which pointers can be used to access…
Pointers and arrays are the most important concepts in the C programming language. The power of C comes from pointers; the ease with which pointers can be used to access…
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…