diff options
| author | Alejandro Colomar <alx@kernel.org> | 2022-12-29 20:21:52 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2022-12-29 20:21:52 +0100 |
| commit | 94877d15a4c3783c75e9e3c16077e31323b0babd (patch) | |
| tree | e70bcb01ab95e9b893b1ef165caaf105725a6c79 | |
| parent | 8341e8b683f1e9582956a8a98065865a96b0798f (diff) | |
| download | man-pages-94877d15a4c3783c75e9e3c16077e31323b0babd.tar.gz | |
memchr.3: The function always returns a pointer to the match
Otherwise, it means we're deep into UB lands, and there be dragons.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
| -rw-r--r-- | man3/memchr.3 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/man3/memchr.3 b/man3/memchr.3 index d14014d623..10bc35b9d7 100644 --- a/man3/memchr.3 +++ b/man3/memchr.3 @@ -97,8 +97,7 @@ the given memory area. .PP The .BR rawmemchr () -function returns a pointer to the matching byte, if one is found. -If no matching byte is found, the result is unspecified. +function returns a pointer to the matching byte. .SH VERSIONS .BR rawmemchr () first appeared in glibc 2.1. |
