add pipe and fifo(named pipe) code