| by Arround The Web

Sigaction() Function in C Language

Tutorial on how to use the sigaction() function to change or restore the action of a signal and how to spot the errors that can occur when using sigaction().

Share Button
Read More
| by Arround The Web

Read System Call in C

A system call is a method for a software to communicate with the operating system. When software performs a system call, it sends the request to the kernel of the operating system. The read () system function in C reads data from the file referred to by the file descriptor.

Share Button
Read More
| by Arround The Web

Fork() and Exec() Functions in C Language

Tutorial on how to use the fork() and exec() functions to create, run, or replace a process with another using its description, syntax, and calling method.

Share Button
Read More
| by Arround The Web

POSIX Shared Memory in C Language

Practical guide on how to allocate and use the shared memory with POSIX system calls and how to create the necessary variables to use in their input arguments.

Share Button
Read More
| by Arround The Web

Kill() Function in C Language

Tutorial on how to use the kill() function to send a signal to one or more processes, how it works, its arguments, the data type used, and the method called.

Share Button
Read More
| by Arround The Web

What Are System Calls and What Are They For

Comprehensive tutorial on what system calls are, what they are used for, and what makes them different from the other functions in the standard C libraries.

Share Button
Read More
| by Arround The Web

Sleep() Function in C Language

Tutorial on how to use the sleep() function to create delays in real time, how to delay the execution of a program, and the effects of signals on this function.

Share Button
Read More
| by Arround The Web

Getpid() Function in C Language

Guide on how to use the getpid() function to retrieve the identifier of the process that calls the function by looking at its syntax and explain how it works.

Share Button
Read More
| by Arround The Web

MIN() Macro in C Language

Practical guide on how to use the macro MIN() to find the minimum value of two variables, how it works, and the expression and formula that this macro applies.

Share Button
Read More
| by Arround The Web

Poll() Function in C Language

Guide on how to use the poll() function to query or wait for a file to become available in order to perform a specific action using its syntax and structures.

Share Button
Read More
| by Arround The Web

Compilation of Programming Languages Setup Guides on Ubuntu for Beginners

The Ubuntu Buzz has been covering several programming languages setup for years including C, C++, Java, Pascal, Rust, Qt, GTK and so on. This includes well known programmer text editors like Codeblocks, Eclipse, Geany, Qt Creator and so on.  Belie…

Share Button
Read More
| by Arround The Web

How to Implement Non-Blocking IO with the Select Function in C

Practical guide on how to implement non-blocking IO with the “select” function in C and its basic usage using a programming example to explain its application.

Share Button
Read More
| by Arround The Web

How to Check the Version of Your GCC Compiler

Comprehensive tutorial on understanding the GCC compiler and on how to check your GCC compiler version and locate where it is installed on your computer.

Share Button
Read More
| by Arround The Web

How to Catch the Socket Errors in C

Practical tutorial on the two different approaches on how to catch the socket errors in the C programming language using the perror() and strerror() functions.

Share Button
Read More
| by Arround The Web

Benefits and Demonstration of GCC –G Flag

Practical tutorial on the benefits of the GCC -g flag and how to use it when compiling your program and when working with a debugger using realistic examples.

Share Button
Read More
| by Arround The Web

How to Create a Socket in C

Tutorial on how to create a socket in C and build the robust networked applications using the socket() system call and setsockopt() and socketpair() functions.

Share Button
Read More
| by Arround The Web

What are Tokens in C Programming

Tokens are important building components of the C program and have six types. Learn more about them in this guide.

Share Button
Read More
| by Arround The Web

How to Copy a String Using strcpy in C Programming

The strcpy() function in C is a commonly used string function that enables you to copy the contents of one string variable to another.

Share Button
Read More
| by Arround The Web

How to Find the Size of a File in C Programming

There are different functions to find the size of a file in C, which are stat(), fstat(), fseek()/ftell(), and the filelength().

Share Button
Read More
| by Arround The Web

How to Use unsigned char in C With Examples

The unsigned char in C is used for storing positive integer values. Read this guide to learn about unsigned char in C.

Share Button
Read More