Hi Group,
ptyDevCreate creates a master and slave device and anythig writtern on the master device can be read by the slave device , but vice versa is not happening. that is data writtern slave cannot be read by the master.

Here i opened the master as the open(drvM,2,0777) and used the write() funtion.

Can anybody help me how to write into the slave , so that it can be read by the master