[lldb-dev] ::bzero "obsolete", recommended to be replaced
Greg Clayton
gclayton at apple.com
Wed Feb 2 15:58:05 PST 2011
memset sounds good.
On Feb 2, 2011, at 12:59 PM, kirk.beitz at nokia.com 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 : kirk.beitz at nokia.com ++
>
>
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
More information about the lldb-dev
mailing list