Creating a simple thread in Linux using pthread library api’s

In this post, we create a simple thread using pthread library API “pthread_create” and wait for this … Read more

feof() end-of-file indicator function in C – Example

The function feof() tests the end-of-file indicator for the stream pointed to by stream, returning nonzero if … Read more

C program to read file contents and count bytes using feof API

The function feof() tests the end-of-file indicator for the stream pointed to by stream, returning nonzero if … Read more

Convert Byte Array to Hex using Java

The post briefs above how you can convert byte Array to Hex values and print those on … Read more

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

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

java

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

Understanding ARM Registers

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