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

#define RT_ZERO ( Obj   )     RT_BZERO(&(Obj), sizeof(Obj))

Byte zero the specified object.

This will use sizeof(Obj) to figure the size and will call memset, bzero or some compiler intrinsic to perform the actual zeroing.

Parameters:
Obj The object to zero. Make sure to dereference pointers.
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 86 of file string.h.

Referenced by main(), rtTarCopyFileTo(), tst3(), and VBGLR3DECL().


Generated by  Doxygen 1.6.0   Back to index