This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Should we remove all internal usages of bcopy/bzero?
- To: Roland McGrath <roland at frob dot com>
- Subject: Re: Should we remove all internal usages of bcopy/bzero?
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 16 Sep 2001 18:53:51 -0700
- Cc: "H . J . Lu" <hjl at lucon dot org>, GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- References: <20010917011819.11977996A9@perdition.linnaean.org>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
Roland McGrath <roland@frob.com> writes:
> For bzero, I wonder if it might not be worth having optimized memset
> macros check __builtin_constant_p and == 0 and refer to the bzero code.
Look at <bits/string2.h>
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------