Test use C write library