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
In this post, we create a simple thread using pthread library API “pthread_create” and wait for this … Read more
The function feof() tests the end-of-file indicator for the stream pointed to by stream, returning nonzero if … Read more
The function feof() tests the end-of-file indicator for the stream pointed to by stream, returning nonzero if … Read more
As we have seen in our another posts “How to create Shared Library in Linux ?” we … Read more
Below functions make sure we are safely and completely reading and writing from a file pointer fd, … Read more
getcwd, getwd, get_current_dir_name functions return a null-terminated string containing an absolute pathname that is the current working … Read more
Following program converts integer number 42 to string “42” using sprintf. sprintf() writes to the character string. … Read more
In C program, comments doesn’t have any use other than for better understanding of the developers of … Read more
In this post, we will create a simple C program, compile it with debugging enabled and then … Read more
This post is in continuation of our previous post “Understanding ARP (Address Resolution Protocol) basics“ To visualise … Read more
To get the exact size of a type or a variable on a particular platform, you can … Read more
If you are trying to run modulo / remainder operator like below, there are higher chances you … Read more