Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

#define RT_BZERO ( pv,
cb   )     do { memset((pv), 0, cb); } while (0)

Byte zero the specified memory area.

This will call memset, bzero or some compiler intrinsic to clear the specified bytes of memory.

Parameters:
pv Pointer to the memory.
cb The number of bytes to clear. Please, don't pass 0.
Remarks:
Because the macro may use memset it has been placed in string.h instead of cdefs.h to avoid build issues because someone forgot to include this header.

Definition at line 103 of file string.h.


Generated by  Doxygen 1.6.0   Back to index