fnordlicht library & sample code in ansi c