The motivation behind writing this article came from the fact that there are still many books/tutorials/softwares etc where I have seen 'void...
The other day I was working on a code where in I was doing some file related operations. I used the function feof() to test whether the end of...
There are a certain functions in C, which if used in a particular combination may cause problems. These problems are due to the conflicting...
Environment variables can be thought of as a name value pair that affect the behavior of the processes running on an operating system. For...
A running instance of a program executable is known as a Process. A process when run can do various things like open some files, read/write some...
A lot many times you would have used a Linux command with some arguments to it. Like : cp -r /home/user/Desktop/abc /home/abcrm -rf abcIn the...
In this article, we will discuss different implementations of sleep functions that had flaws to understand how sleep function evolved. Before...
We will discuss the concept of Macros. A Macro is a name given to a piece of code or to a value. Whenever the macro is used in the code, it...
Before we start with Non re-entrant Functions, Can you guess the problem with this piece of code : #include<stdio.h> #include<signal.h>...
Suppose a system call was blocked due to some reason (like waiting for a read of some data on terminal) and during this time a signal occurs. Do...
There are times, when sitting on your Linux box, working on a command line terminal, you suddenly feel a need of copying a file to/from a remote...
Signals are the interrupts. They are a way of providing asynchronous events. For example a user typing ctrl-c on terminal to stop a program. Most...
Byte ordering in memory refers to the way in which the bytes corresponding to a certain value is stored in the memory. There are two ways in which...
In this article, I'll present some interesting 'C' problems for which I will not provide the answer. If you are not bale to solve any problem,...
A virtual function is used where we want to allow the derived class to replace the implementation of the same function in base class. The compiler...
We all have been using Functions since we stepped into programming. Numerous times we have called a function with some arguments to it. We all...
This article assumes that readers are aware of what pointers are and how they are used in 'C'. As a quick overview, A pointer is a special...
As we have already discussed the procfile system in my previous article. Here we will learn about how to create a procfile which can be read and...
Proc file system is a pseuso-filesystem that contains the running state information of Linux kernel. This information is presented in the form of...
To understand the concept of makefiles, one should have basic knowledge of the compilation process. Do you know how to compile a code using gcc?...
Separate names with a comma.