select system call with FIFO fd.

Hello friends,

Here my aim is one of my server program rights on to the fifo when some information available and
the client program which reads the data from the fifo needs to wait for some time period ( ex 5 sec ) once it reaches that time , client needs to come out of that waitig state .