Java Native Interface ( JNI ) Example , Calling Native C functions from JAVA

The Java Native Interface (JNI) establishes a well-defined and platform-independent interface between the JAVA and Native C … Read more

java

How to Install Java using apt-get command on Ubuntu ?

Installing JAVA on ubuntu can be done using following easiest command. for Ubuntu 20.04, this command installs … Read more

ARM Registers

Understanding ARM Registers

In any ARM processor, total 16 registers are accessible in any operation Mode. Those registers are as … Read more

C code for safe read and write from a file

Below functions make sure we are safely and completely reading and writing from a file pointer fd, … Read more

C program in Linux to find the current working directory (PWD)

getcwd, getwd, get_current_dir_name functions return a null-terminated string containing an absolute pathname that is the current working … Read more

C program to convert integer number to string

Following program converts integer number 42 to string “42” using sprintf. sprintf() writes to the character string. … Read more

How to write Comments in C Program ?

In C program, comments doesn’t have any use other than for better understanding of the developers of … Read more

Sending ARP request and receiving ARP Reply using C code

This post is in continuation of our previous post “Understanding ARP (Address Resolution Protocol) basics“ To visualise … Read more

Bitbake / Yocto recipes for cross compiling golang program

For compiling simple golang helloworld program as part of yocto build framework, we need to download meta-golang … Read more

C program to know storage size of int, char and float

To get the exact size of a type or a variable on a particular platform, you can … Read more