libusbx is a cross-platform user mode library that provides generic access to USB devices.
Git (read-only):
git://github.com/libusbx/libusbx.git
The main Wiki page can be found
here.
For additional info, please visit:
http://libusbx.org.
libusbx's xusb sample accessing an USB 3.0 Flash Drive