9 Nov
2009
9 Nov
'09
1:32 p.m.
Ok, it was available on OS X as well and seems to be part of POSIX according to the OS X man page? ----- HISTORY A bzero() function appeared in 4.3BSD. Its prototype existed previously in <string.h> before it was moved to <strings.h> for IEEE Std 1003.1-2001 (``POSIX.1'') compliance. ----- Joakim On 9 nov 2009, at 14.16, Paolo Bonzini wrote:
On Mon, Nov 9, 2009 at 14:01, Joakim Johansson <jocke@tbricks.com> wrote:
bzero() is used in queue.c and is available from strings.h, needs an include for it.
Probably better to use memset instead. bzero is on its way to obsoletion.
Also, strings.h is SVR-ism and is not available on many platforms.
Paolo