:: RootR ::  Hosting Order Map Login   Secure Inter-Network Operations  
 
memzero_explicit(9) - phpMan

Command: man perldoc info search(apropos)  


MEMZERO_EXPLICIT(9)                 Basic C Library Functions                 MEMZERO_EXPLICIT(9)



NAME
       memzero_explicit - Fill a region of memory (e.g. sensitive keying data) with 0s.

SYNOPSIS
       void memzero_explicit(void * s, size_t count);

ARGUMENTS
       s
           Pointer to the start of the area.

       count
           The size of the area.

NOTE
       usually using memset is just fine (!), but in cases where clearing out _local_ data at the
       end of a scope is necessary, memzero_explicit should be used instead in order to prevent
       the compiler from optimising away zeroing.

       memzero_explicit doesn't need an arch-specific version as it just invokes the one of
       memset implicitly.

COPYRIGHT
Kernel Hackers Manual 4.8.                 January 2017                       MEMZERO_EXPLICIT(9)


/man
rootr.net - man pages