]> git.ipfire.org Git - thirdparty/man-pages.git/commit
memchr.3: Deprecate rawmemchr(3)
authorAlejandro Colomar <alx@kernel.org>
Thu, 5 Jan 2023 19:01:02 +0000 (20:01 +0100)
committerAlejandro Colomar <alx@kernel.org>
Thu, 5 Jan 2023 19:01:06 +0000 (20:01 +0100)
commitb2af20ea4408faa66564d2d742f0e22b02017510
treeb8d596f7394b7d7b0ebbed1f97f72d1b57cb8ddf
parent588a1a5f85d210c5c258e04b6bad99f108b0149a
memchr.3: Deprecate rawmemchr(3)

It is not optimized, and it calls either strlen(3) or memchr(3), so the
caller can do it directly, and it will be better.

Suggested-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man3/memchr.3