summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/dt_pci.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-03-12 17:27:10 +0100
committerSander Vrijders <sander.vrijders@ugent.be>2018-03-12 18:39:15 +0100
commite03dedf0a4c40ceeb063f95777bc99628a980ec9 (patch)
treea886fea671133bd678524b4430a0ada94f63785e /src/ipcpd/normal/dt_pci.c
parent9bf0d277416c342a8a9e0b2017b2b10f1d093245 (diff)
downloadouroboros-e03dedf0a4c40ceeb063f95777bc99628a980ec9.tar.gz
ouroboros-e03dedf0a4c40ceeb063f95777bc99628a980ec9.zip
lib: Allow partial read
This implements partial read of packets if the buffer supplied to flow_read() is smaller than the packet in the buffer. If the number of bytes returned by flow_read equals the size of the buffer, the next read() will deliver the next bytes of the packet (or 0 if the packet was exactly the size of the buffer on the previous read). Implements #7. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/ipcpd/normal/dt_pci.c')
0 files changed, 0 insertions, 0 deletions