author | Sebastian Harl <sh@tokkee.org> | |
Sat, 7 Mar 2015 13:01:17 +0000 (14:01 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sat, 7 Mar 2015 13:01:17 +0000 (14:01 +0100) | ||
commit | 42f08911b5ba35dbd0e3dadc0f3785f8fa3a946a | |
tree | 47ce8e693ac625f919ee750a96146376f87e8abe | tree | snapshot |
parent | 7ee46a4a7e492518a56df4a8ae3f1bd88adf88b8 | commit | diff |
data: Return the number of bytes that would have been returned.
That is, behave as documented, even if the buffer is NULL or otherwise too
small. Return size_t instead of an integer.
That is, behave as documented, even if the buffer is NULL or otherwise too
small. Return size_t instead of an integer.