C stdlib extensions