Understanding quirks of C: Structures

Targeted audience: C programmers System information Linux ubuntu 2.6.32-25-generic #44-Ubuntu SMP i686 GNU/Linux gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ======== Structure are the most popular user-defined data type in C. It allows an user to create new data type by packing different data types and use them with a single […]

How to debug with GDB?

>Debugging is an art. In general, debugging is the most admired tool in the developer’s arsenal. My points in this article are related to GNU GDB debugger, for Linux operating system. What is your first reaction when you see a core-dump? Let’s debug it! Hold-on. Wait, and first […]

How tail -f work?

“tail -f” is a special command in a way that it polls the specified file for any change and prints the new stuff on the fly. It is very helpful in observing logs and any event based data. Ever wondered how tail achieves this? “tail” opens the given […]