# HG changeset patch # User Mike Becker # Date 1399294360 -7200 # Node ID 4d85da1f98db5f3d9143a4fb5511621d1694cfa0 # Parent 1fa3f13f774c25c86de5dd30995652f9e5d870c1 hotfix for ucx_buffer_seek documentation diff -r 1fa3f13f774c -r 4d85da1f98db ucx/buffer.h --- a/ucx/buffer.h Mon May 05 13:53:27 2014 +0200 +++ b/ucx/buffer.h Mon May 05 14:52:40 2014 +0200 @@ -145,7 +145,11 @@ * * SEEK_SET marks the start of the buffer. * SEEK_CUR marks the current position. - * SEEK_END marks the first 0-byte in the buffer. + * SEEK_END marks the end of the buffer. + * + * With an offset of zero, this function sets the buffer position to zero + * (SEEK_SET), the buffer size (SEEK_END) or leaves the buffer position + * unchanged (SEEK_CUR). * * @param buffer * @param offset position offset relative to whence