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: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: Should we remove all internal usages of bcopy/bzero?
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 16 Sep 2001 18:13:35 -0700
- Cc: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- References: <20010916173233.A2326@lucon.org>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
"H . J . Lu" <hjl@lucon.org> writes:
> There are a few internal usages of bcopy/bzero. Should we replace them
> with memmove/memset?
bcopy: yes. bzero: not really. There shouldn't be many bcopy uses
left. And yes, there is a reason: one less PLT entry.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------