This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/21018] New: Add memcchr function
- From: "tetra2005 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 02 Jan 2017 21:04:27 +0000
- Subject: [Bug libc/21018] New: Add memcchr function
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21018
Bug ID: 21018
Summary: Add memcchr function
Product: glibc
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: tetra2005 at gmail dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
Recent FreeBSD have a nice complement for standard memchr function - memcchr
(https://www.freebsd.org/cgi/man.cgi?query=memcchr). It e.g. allows user to
efficiently check whether buffer is zeroed out. Would it make sense to add
something like this to Glibc as well (yes, I can volunteer)?
Here's a motivational GCC bug:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69908 (which also references
stackoverflow proving that problem is not that uncommon).
--
You are receiving this mail because:
You are on the CC list for the bug.