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

Re: memzero function



On Thu, 16 Oct 2003, Russell Shaw wrote:

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

memset is already entirely portable; it's in ISO/ANSI C
(but bzero is not).

Allin Cottrell



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