1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-09 00:45:49 +02:00

Add limit parameter to ioCopyP().

Allows the number of bytes copied to be limited.
This commit is contained in:
David Steele
2022-03-08 08:23:31 -06:00
parent 166039c0da
commit 514137040e
10 changed files with 68 additions and 12 deletions

View File

@ -271,7 +271,7 @@ testRun(void)
\
uint64_t benchMarkBegin = timeMSec(); \
\
ioCopy(read, write); \
ioCopyP(read, write); \
\
ioReadClose(read); \
ioWriteClose(write); \