Sample code/C/I2C
From GumstixDocsWiki
The bottom of the I2C on the Gumstix page has links to a program which uses i2c from the gumstix.
The i2c program uses the i2c-api.c and i2c-api.h files.
These are built on for the i2c-io-api.c and i2c-io-api.h, which are use by the Robostix i2c io program.

