Tags » GNU/Linux

My perfect distro: Salix 14.1

Is Salix the perfect distro? Some might argue that it is, others will argue that it isn’t. Basically, it all depends on what you want from a distro: Do you want the system to be as exposed as possible (and therefore as configurable as it possibly can be), or do you want a distro that shields you from the nitty-gritty, and just offers an array of GUI tools to configure everything.¬† 2,437 more words

Free Software

Helper functions for handling the PID file of a background daemon.

In this article I will present to you some useful functions for handling the PID file of a background daemon. Most of the background daemons maintain a PID file usually in a well-known path such as the “/var/run”. 1,190 more words

Free Software

Useful functions for enabling and disabling the non-blocking I/O mode of file descriptors.

In this article I will present to you two useful functions that can be used whenever you want to enable or disable the non-blocking I/O mode of a file descriptor. 422 more words

Free Software

A safe wrapper implemented in C for freeing dynamic allocated memory.

In this article I will present to you a safe wrapper for freeing memory allocated with *alloc family functions. The standard function “void free (void * pointer)” from stdlib library does not check the given pointer to see whether it is NULL and does not NULL terminate the pointer before it returns either. 665 more words

Free Software

Macro definitions for handling interruptible POSIX system calls.

In this article I will present to you some macro definitions for handling interruptible system calls. 539 more words

Free Software

Where should you install local software?

I use the ~/.local directory as a user-specific root directory. That means that all the software I compile goes to ~/.local/bin, all my man… 168 more words

GNU/Linux