MCPcopy Create free account
hub / github.com/apache/trafficserver / slurp

Method slurp

src/tscore/TextBuffer.cc:189–197  ·  view source on GitHub ↗

Read the entire contents of the given file descriptor.

Source from the content-addressed store, hash-verified

187
188// Read the entire contents of the given file descriptor.
189void
190TextBuffer::slurp(int fd)
191{
192 int nbytes;
193
194 do {
195 nbytes = readFromFD(fd);
196 } while (nbytes > 0);
197}
198
199// int TextBuffer::readFromFD(int fd)
200//

Callers 4

read_uint_from_fdFunction · 0.80
write_procfd_fileFunction · 0.80
crashlog_write_procnameFunction · 0.80
mptcp_supportedFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected