example c codes.