Archive for the “c programming” category

GCC Compiler Extensions Used in Linux Kernel

0Milinda21st Nov 2008c programming, linux

GCC and Linux are a great pair. Although they are independent pieces of software, Linux is totally dependent on GCC to enable it More »

inotify – Linux File System Activity Monitoring

0Milinda10th Nov 2008c programming, linux, linux tips, php, programming, python, ruby

inotify is a Linux kernel subsystem which monitors Linux file system operations, such as read, write, create and delete. It was included in More »

Get You Twitter Friends Time Line Using libcurl

3Milinda13th Sep 2008c programming, personal, programming

This weekend I am doing simple project to display twitter time line on ‘Conky’ widget. For that first I need to write a More »

Recursion, Non-Recursion and Tail Recursion Test using GCC -O2 optimization

1Milinda20th Aug 2008algorithms, c programming, programming

I got  very positive response for my previous post that published test results of Recursion algorithm efficiency testing. Bluestorm and Alex has responsed More »

Recursion, Non-Recursion and Tail Recursion Test

11Milinda20th Aug 2008c programming, programming

Because of the responses I got from readers for previous post ‘Efficiency of Algorithms: Recursive vs Non-Recursive’, I did some test using RDTSC More »

Difference between static functions and static variables in C

1Milinda28th May 2008c programming

Static Functions Static functions are functions that are only visible to functions in the same file and they are not callable from outside. More »

memcpy vs memmove

0Milinda23rd May 2008c programming

These are some ideas from people who replied to this discussion. Rishi: Its safer to use memmove if you are not sure about More »

GCC 4.3 changes caused build break when use -Wall and -Werror together

1Milinda23rd May 2008c programming, linux tips

As they have mentioned in this document, there can be errors in code that work well with previous versions of GCC. They have More »