Re: Zeoring out memory

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

 



Le Thu, 8 Nov 2007 22:25:29 -0800 (PST),
Mohammad M Molla <merajul_i@xxxxxxxxx> a écrit :

> How can I zero out a large chunk of allocated memory given I don't
> have access to memset/bzero? Is there any efficient way to do that in
> software?

Your question looks strange: why wouldn't you have access to memset()
or bzero() ?

In the Linux kernel, memset() is available, so you can use it.

Sincerly,

Thomas
-- 
Thomas Petazzoni - thomas.petazzoni@xxxxxxxx
http://{thomas,sos,kos}.enix.org - http://www.toulibre.org
http://www.{livret,agenda}dulibre.org

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux