memset sounds good.

On Feb 2, 2011, at 12:59 PM, [email protected] wrote:

> in trying to port lldb to mingw as host, there is complaint about use of 
> bzero.
> 
> i found this net reference to its obsolescence from 2004
> http://pubs.opengroup.org/onlinepubs/009695399/functions/bzero.html
> 
> i had been thinking of creating just such a #define and special-casing it to 
> windows.
> 
> but if there are no objections, it would seem cleaner to just replace all 
> calls to bzero(...,...) with calls to memset(...,0,...) as suggested with 
> their macro.
> 
> i will be working on a patch for this, and will submit it in the next couple 
> of days to give a chance for objections to be heard.
> 
> ++ kirk beitz : nokia : austin + san diego : [email protected] ++
> 
> 
> 
> _______________________________________________
> lldb-dev mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev


_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to