diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2021-04-25 18:23:00 +0200 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2021-04-25 18:23:00 +0200 |
| commit | 397cd035a40ddbc3abff2d77cb4bf6e936266944 (patch) | |
| tree | d1208c4bb0f56b8ae36d9c046cbc74462e1c0ede /ot_iovec.h | |
| parent | 95f1780f0b6229a6f52b6dbad1a645b4e91c6b06 (diff) | |
Turn mmaps into malloc
Diffstat (limited to 'ot_iovec.h')
| -rw-r--r-- | ot_iovec.h | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -12,7 +12,7 @@ void *iovec_increase( int *iovec_entries, struct iovec **iovector, size_t new_a | |||
| 12 | void iovec_fixlast( int *iovec_entries, struct iovec **iovector, void *last_ptr ); | 12 | void iovec_fixlast( int *iovec_entries, struct iovec **iovector, void *last_ptr ); |
| 13 | void iovec_free( int *iovec_entries, struct iovec **iovector ); | 13 | void iovec_free( int *iovec_entries, struct iovec **iovector ); |
| 14 | 14 | ||
| 15 | size_t iovec_length( int *iovec_entries, struct iovec **iovector ); | 15 | size_t iovec_length( const int *iovec_entries, const struct iovec **iovector ); |
| 16 | 16 | ||
| 17 | void *iovec_fix_increase_or_free( int *iovec_entries, struct iovec **iovector, void *last_ptr, size_t new_alloc ); | 17 | void *iovec_fix_increase_or_free( int *iovec_entries, struct iovec **iovector, void *last_ptr, size_t new_alloc ); |
| 18 | 18 | ||
