From 58818a2b5d3042426d57846627b476b5f74591b8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 17 Nov 2018 11:13:47 +0100 Subject: Add memelemscan MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- man3/libsimple_memscan.3 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'man3/libsimple_memscan.3') 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 -- cgit v1.2.3-70-g09d2