☰
Debian Codegraph
@
13.04.01-1
/
/
yo
/
concrete
/
fork2
/
pipe
/
readvia.cc
☽
☼
yo/concrete/fork2/pipe/readvia.cc
code
plain
raw
GPL-2+
1994-2025 by Frank B. Brokken, University of Groningen.
debian/copyright
1
#include "pipe.ih"
2
3
void Pipe::readVia(int fd)
4
{
5
close(d_fd[WRITE]);
6
dup(READ, fd);
7
close(d_fd[READ]);
8
}