docs/Writerside/topics/buffer.h.md

changeset 1288
b41ad5d9bcbf
parent 1276
91a64ba395f7
child 1290
4ac889e14211
--- a/docs/Writerside/topics/buffer.h.md	Sun Apr 13 11:09:05 2025 +0200
+++ b/docs/Writerside/topics/buffer.h.md	Sun Apr 13 11:54:10 2025 +0200
@@ -227,9 +227,9 @@
 or end (when `whence` is `SEEK_END`) of the buffer.
 
 If the resulting position is negative, or larger than the size (i.e. the first unused byte),
-this function returns non-zero and sets `errno` to `EOVERFLOW`.
+this function returns non-zero and sets `errno` to `EINVAL`.
 
-> Note that the error behavior of `cxBufferSeek()` is not exactly the same as for POSIX `fseek()`.
+> Note that the behavior of `cxBufferSeek()` when seeking beyond the end of the buffer is not exactly the same as for POSIX `fseek()`.
 
 ## Shift Contents
 

mercurial