"C program" tag

Write Your Own conio.h for GNU/Linux

Here’s a close look at the technique and code for console handling in Standard (i.e., ISO/ANSI) C/C++.   In the latter part of the article readers are encouraged to write their own code for…

Dennis MacAlistair Ritchie

Joy of Programming: The Legacy of C

Dennis Ritchie died on the 8th of October 2011, at the age of 70. His lasting contributions to computing include creating the C language, and co-creating the UNIX operating system. In his memory,…

Visibility?

Joy of Programming: Scope, Lifetime and Visibility in C

Often, programmers confuse the scope, lifetime and visibility of variables. So I’ll cover these three important concepts in this month’s column. Whenever you declare a variable, you determine its scope, lifetime and visibility….

This is how we get in...

Modify-function-return-value hack! — Part 2

In my previous article on this topic, we discussed some guidelines on how to write a secure application in C. The article focused on functions defined in the application itself. Now, we will…

Hook a Library Function

Let’s Hook a Library Function

If you are a developer, and want to change the way a library function works, this article will give you a basic idea of how to get started — just enough knowledge to…

Getting started...

Getting Started with Inotify

Inotify is a Linux kernel feature that provides an event-driven framework for applications to monitor changes in the filesystem. This article demonstrates how to use the Inotify API to register for interesting events,…

All published articles are released under Creative Commons Attribution-NonCommercial 3.0 Unported License, unless otherwise noted.
Open Source For You is powered by WordPress, which gladly sits on top of a CentOS-based LEMP stack.

Creative Commons License.