Olimex L9260 i2c usage

Can anyone provide c example code for i2c usage in preinstalled linux on L9260 board?