Using libC interface