From 83bf636b865e53be4b32335b79fa4236d39afbe8 Mon Sep 17 00:00:00 2001 From: leitner Date: Thu, 20 Jul 2006 04:54:29 +0000 Subject: [PATCH] add RETURN VALUE section --- buffer/buffer_mmapread.3 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buffer/buffer_mmapread.3 b/buffer/buffer_mmapread.3 index f6cdbbf..428e4d4 100644 --- a/buffer/buffer_mmapread.3 +++ b/buffer/buffer_mmapread.3 @@ -25,5 +25,9 @@ buffer_close to unmap the memory in the end. buffer_flush(buffer_1); buffer_close(&input); +.SH "RETURN VALUE" +\fBbuffer_mmapread\fR returns 0 if everything was fine, -1 on error +(setting \fIerrno\fR). + .SH "SEE ALSO" buffer_flush(3), buffer(3)