Linux C: page aligned buffer

I had to allocate a page-aligned buffer.

Valgrind and pthread leakage

While testing the binaries with valgrind, which use the pthread library, the results usually contains several  possible leak sections, which are raised inside the pthread library.

Autotools tutorial

I'm working on a new project, and I wanted to use autoconf, automake, libtool utilities for compiling and installing it.

I have found an excellent autotools tutorial here:


Linux C: Suppress stderr

I had to suppress the standard error output for a while. An external library wrote to it, and I wanted to hide that.

The following code snippets introduces this:

Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Top WordPress Themes