| by Arround The Web

O_RDONLY, O_WRONLY and O_RDWR Flags in C Language

In this Linux Hint article, you will learn how to specify the read and write attributes of files using the O_RDONLY, O_WRONLY, and O_RDWR flags.

Share Button
Read More
| by Arround The Web

The sockaddr_in Structure

In this Linux Hint article, we explained everything you need to know about working with structures of type sockaddr_in and the data each of its members stores.

Share Button
Read More
| by Arround The Web

Recv() Function in C Language

Tutorial on how to use the recv() function to receive the data over a socket using its syntax, the input and output arguments, and the data types they accept.

Share Button
Read More
| by Arround The Web

Execv() Function in C Language

Practical tutorial on how to use the execv() function in the C language to start a process from another process using theoretical operation and input arguments.

Share Button
Read More
| by Arround The Web

How to Create an Array of Strings Using Malloc() in C Programming

To create an array of strings using the “malloc()”, utilize the “pointer-array = (cast-type*) malloc(input-array*size of char)” syntax.

Share Button
Read More
| by Arround The Web

C: Connect Function System Call

In this Linux Hint article, you will learn how to use the connect() function and create a socket from scratch to connect remotely to a server.

Share Button
Read More
| by Arround The Web

Inet Pton() Function in C Language

Tutorial on how to convert the string format to IP addresses in direct binary using the inet_pton() function, its function, input arguments, and data type.

Share Button
Read More
| by Arround The Web

Getaddrinfo() Function in C Language

Guide on how to use the getaddrinfo() function to resolve the IP address of a domain and get the information from the server to open a socket and connect to it.

Share Button
Read More
| by Arround The Web

How to Use the C String.h Library Functions

Practical tutorial on some of the functions of the “string.h” header file in the C programming language using the string length, copy, and comparison functions.

Share Button
Read More
| by Arround The Web

Auto Keyword in C

Tutorial on the usage of the “auto” keyword in the C programming language and how the same functionality can be achieved without even using this keyword in C.

Share Button
Read More
| by Arround The Web

How and Why to do Bitwise AND in C?

This is on bitwise “AND” operation of the C programming language, its significance, and how this operator actually works in the C programming language.

Share Button
Read More
| by Arround The Web

If Then Else Statement in C

By going through this, you will easily be able to understand the working of the “if-then-else” statement in the C programming language.

Share Button
Read More
| by Arround The Web

Calculator Program in C

This discussed the two different methods of writing a calculator program in the C programming language: “if-else” statement whereas and “switch-case” statement.

Share Button
Read More
| by Arround The Web

How to Call a Function in C?

This article was written to give you an idea about the different ways in which you can call a function in the C programming language.

Share Button
Read More
| by Arround The Web

While Loop in C

A guide on how to use the while loop in the C programming language in three different aspects, such as printing in a series of numbers and infinite while loop.

Share Button
Read More
| by Arround The Web

Macros in C

The Macros in C language are useful in swapping the large code with a single piece of line code to avoid complexity. This article explains Macros in C.

Share Button
Read More
| by Arround The Web

Fork System Call in C

The basic purpose of the fork command method is to create one or more child processes. This article explains fork system call in C.

Share Button
Read More
| by Arround The Web

Calloc in C

The C language has the calloc() function, which is used to dynamically allocate the desired number of memory blocks of a particular type.

Share Button
Read More
| by Arround The Web

Fsync System Call in C

This article explains the Fsync() system call or function flushes (passes) all the updates to the disk to reflect the changes made to a file.

Share Button
Read More
| by Arround The Web

Posix Mutex in C

Mutex, which refers to mutual exclusion, gives us a deadbolt lock that stops several users from simultaneously accessing and modifying the crucial data.

Share Button
Read More