RE: memzero function



martyn 2 russell bt com wrote:
Does glib have a function to fill or zero a memory string
(something like memset) ?

What is wrong with memset() or bzero() ?

I got the impression with all the duplication of functions
in glib, the idea was to only use glib for everything to
enhance portability or something...

As far as I can tell, the closest functions are g_memdup() and g_memmove() and thats as far as it goes.

Regards,
Martyn



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]