Mon, 05 May 2014 14:52:40 +0200
hotfix for ucx_buffer_seek documentation
ucx/buffer.h | file | annotate | diff | comparison | revisions |
1.1 --- a/ucx/buffer.h Mon May 05 13:53:27 2014 +0200 1.2 +++ b/ucx/buffer.h Mon May 05 14:52:40 2014 +0200 1.3 @@ -145,7 +145,11 @@ 1.4 * 1.5 * SEEK_SET marks the start of the buffer. 1.6 * SEEK_CUR marks the current position. 1.7 - * SEEK_END marks the first 0-byte in the buffer. 1.8 + * SEEK_END marks the end of the buffer. 1.9 + * 1.10 + * With an offset of zero, this function sets the buffer position to zero 1.11 + * (SEEK_SET), the buffer size (SEEK_END) or leaves the buffer position 1.12 + * unchanged (SEEK_CUR). 1.13 * 1.14 * @param buffer 1.15 * @param offset position offset relative to <code>whence</code>