FreeRDP
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Functions
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
Functions
a
c
d
e
f
g
i
o
r
s
t
Variables
a
b
c
d
e
g
i
l
m
n
o
p
r
s
t
u
v
Files
File List
Globals
All
Typedefs
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Modules
Pages
Loading...
Searching...
No Matches
crt/memory.c
1
20
#include <winpr/config.h>
21
22
#include <winpr/crt.h>
23
24
/* Memory Allocation: http://msdn.microsoft.com/en-us/library/hk1k7x6x.aspx */
25
/* Memory Management Functions: http://msdn.microsoft.com/en-us/library/windows/desktop/aa366781/ */
26
27
#ifndef _WIN32
28
29
PVOID SecureZeroMemory(PVOID ptr,
size_t
cnt)
30
{
31
volatile
BYTE* p = ptr;
32
33
while
(cnt--)
34
{
35
*p = 0;
36
p++;
37
}
38
39
return
ptr;
40
}
41
42
#endif
winpr
libwinpr
crt
memory.c
Generated by
1.9.8