[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfengine-help
Subject:    Re: bzero()/bcopy() usage in cfengine
From:       Mark.Burgess () iu ! hio ! no
Date:       2001-04-10 15:25:45
[Download RAW message or body]

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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic