C Access to device