version 1.26, 2005/12/30 01:59:00 |
version 1.27, 2005/12/30 05:28:27 |
|
|
* buffer is too small to accept all data, it will attempt to append as much |
* buffer is too small to accept all data, it will attempt to append as much |
* data as possible, or if the BUF_AUTOEXT flag is set for the buffer, it |
* data as possible, or if the BUF_AUTOEXT flag is set for the buffer, it |
* will get resized to an appropriate size to accept all data. |
* will get resized to an appropriate size to accept all data. |
* Returns the number of bytes successfully appended to the buffer, or -1 |
* Returns the number of bytes successfully appended to the buffer. |
* on failure. |
|
*/ |
*/ |
ssize_t |
ssize_t |
cvs_buf_append(BUF *b, const void *data, size_t len) |
cvs_buf_append(BUF *b, const void *data, size_t len) |