aboutsummaryrefslogtreecommitdiffstats
path: root/man3/libsimple_memscan.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/libsimple_memscan.3')
-rw-r--r--man3/libsimple_memscan.34
1 files changed, 3 insertions, 1 deletions
diff --git a/man3/libsimple_memscan.3 b/man3/libsimple_memscan.3
index c9db7da..0c5d14a 100644
--- a/man3/libsimple_memscan.3
+++ b/man3/libsimple_memscan.3
@@ -25,6 +25,8 @@ for the first occurence of the byte
.I c
(it is converted to a
.BR char ).
+If no such character exist in the memory
+segment, the memory segment's end is returned.
.PP
The comparison is case-sensitive.
.SH RETURN VALUE
@@ -38,7 +40,7 @@ where
.I r
is the returned pointer.
If no such offset exists,
-.B NULL
+.I &r[n]
is returned.
.SH ERRORS
The