[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bzero()/bcopy() usage in cfengine
From: |
Mark . Burgess |
Subject: |
Re: bzero()/bcopy() usage in cfengine |
Date: |
Tue, 10 Apr 2001 17:25:45 +0200 (MET DST) |
On 11 Apr, Katsuhiro Kondou wrote:
> I don't intend to irritate Mark, but just want to know why.
> bzero() is used everywhere in the code, while memset() is
> also used. Is there any intention at this point? Hopefully,
> later in 2.0, memset() and also memcpy() instead of bcopy()
> will be used for source code compatibility.
You're right. I use bcopy out of habit because I can never
remember the memmcpy syntax. I find the arguments confusing.
I should probably change this.
Thanks
Mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~