VirtualBox

Changeset 30827 in vbox


Ignore:
Timestamp:
Jul 14, 2010 12:49:36 PM (14 years ago)
Author:
vboxsync
Message:

iprt/mem.h: Added RTMemWipeThoroughly().

Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/mem.h

    r28800 r30827  
    44
    55/*
    6  * Copyright (C) 2006-2007 Oracle Corporation
     6 * Copyright (C) 2006-2010 Oracle Corporation
    77 *
    88 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    254254RTDECL(int) RTMemProtect(void *pv, size_t cb, unsigned fProtect) RT_NO_THROW;
    255255
     256/**
     257 * Goes thru some pains to make sure the specified memory block is thoroughly
     258 * scrambled.
     259 *
     260 * @param   pv          The start of the memory block.
     261 * @param   cb          The size of the memory block.
     262 * @param   cMinPasses  The minimum number of passes to make.
     263 */
     264RTDECL(void) RTMemWipeThoroughly(void *pv, size_t cb, size_t cMinPasses) RT_NO_THROW;
    256265
    257266#ifdef IN_RING0
  • trunk/src/VBox/Runtime/Makefile.kmk

    r30293 r30827  
    259259        common/misc/RTFileOpenF.cpp \
    260260        common/misc/RTFileOpenV.cpp \
     261        common/misc/RTMemWipeThoroughly.cpp \
    261262        common/misc/assert.cpp \
    262263        common/misc/buildconfig.cpp \
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette