pipe using c