hi, i want to write a c program, which creates a pseudo terminal master.
i want to create another program which is pseudo terminal slave.
both should communicate with each other.

does any one has any idea about it.
thanks in advance.