insmod: ERROR: could not insert module hello.ko

We tried to write a simple class driver framework which will create a directory in /sys/class, we … Read more

C program to print Hex values of characters in string

Following program prints the hexadecimal values of all the characters in any string. Currently we have used … Read more

How to avoid zombie process in Linux ?

Zombie process is the process which dies/finishes immediately and whose parent didn’t cares to handle the status … Read more

How to create process in Linux using fork system call ?

Below is simple process creation program using fork system call, fork return child’s process Id in main/parent … Read more

How to use Valgrind to find memory leaks ?

Valgrind is an instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically … Read more

XML file which can be used for rss feed for website

If you want to create a Email subscription using google Feedburner, we will need to have rss.xml … Read more

Send and Receive (Transfer) integer over socket using C program

Following the simple example which shows how we can send and receive an integer over a socket. … Read more

Android Library

Creating AAR library for Android apps using Android Studio – Part 1

An Android library is structurally the same as an Android app module. It can include everything needed … Read more