≡ Menu

A library is a file containing compiled code from various object files stuffed into a single file. It may contain a group of functions that are used in a particular context. For example, the ‘pthread’ library is used when thread related functions are to be used in the program.
[continue reading…]

C Constant Pointers and Pointer to Constants Examples

Pointers in C has always been a complex concept to understand for newbies. In this article, we will explain the difference between constant pointer, pointer to constant and constant pointer to constant.
[continue reading…]

Happy 4th Birthday to The Geek Stuff

TGS is 4 years old now.

TGS is growing strong every year only because of your tremendous love and support. I sincerely thank you from my heart for being part of TGS.
[continue reading…]

Question: How do I enable EPEL repository on CentOS so that I can install additional packages directly using yum command?

Answer: EPEL stands for Extra Packages for Enterprise Linux.
[continue reading…]

These are the classic books on UNIX and C programming written few decades ago, but still the best books in its category.
[continue reading…]

Sometimes while programming, we stumble upon a condition where we want to use a value or a small piece of code many times in a code. Also there is a possibility that the in future, the piece of code or value would change. Then changing the value all over the code does not make any sense. There has to be a way out through which one can make the change at one place and it would get reflected at all the places. This is where the concept of a macro fits in.
[continue reading…]

While developing a program, the programmer has to keep several things in mind like the code should not be complex ie it should be maintainable, portability is another area that is to be kept in mind. So we see that there are some good practices that the programmer should follow in order to produce a good code. Here in this article, we will focus on some good practices that the programmer should follow while working with system calls in Linux.
[continue reading…]

How to Setup Rsync for Windows Using DeltaCopy

You already know how powerful rsync utility is on Linux platform.

One of the useful feature of rsync is that it can incrementally copy big files. i.e If you have a huge file (especially backups), that keeps changing every day, but you don’t need to copy the whole file. Instead using rsync, you can copy only the blocks that are changed (instead of copying the whole file again).

If you use the standard copy feature of Windows, you won’t be able to incrementally copy only the changed blocks.
[continue reading…]