C library API atexit for calling certain function at end of program execution / process termination
atexit – register a function to be called at normal process termination The atexit() function registers the … Read more
atexit – register a function to be called at normal process termination The atexit() function registers the … Read more
Sometimes we want to display certain things only on certain category of pages, for example, on this … Read more
If you need to get the mac address of certain wifi interface using C program, you can … Read more
Start ‘fdisk’. For me, the SD card reader/writer has the SD card show up on /dev/sdc. I … Read more
Electric Fence helps you detect two common programming bugs: software that overruns the boundaries of a malloc() memory … Read more
Major distribution kernels set the default value of /proc/sys/vm/overcommit_memory to zero, which means that processes can request … Read more
In our previous post, we understood “What is Out of Memory Killer ?” In this post, we … Read more
Each property has a name and value, and they are all in string format. Each process can … Read more
We tried to write a simple class driver framework which will create a directory in /sys/class, we … Read more
Following program prints the hexadecimal values of all the characters in any string. Currently we have used … Read more