-
Notifications
You must be signed in to change notification settings - Fork 5
memget_s
nyfrk edited this page Aug 22, 2020
·
1 revision
Copy a block of memory while performing a safe read. This function will not trip an exception if no memory is committed at the source address.
See memset_s if you need a safe write operation instead.
void* memget_s(
void* dst,
const void* src,
size_t len
);
dst
The destination where the bytes are copied to. Must be a valid address.
src
The source from where the bytes are copied from. Can be an invalid address.
len
The amount of bytes to copy.
This function will return NULL if it could not copy all requested bytes. Otherwise it will be non-zero.
none
Minimum API Level | 1 |
Target Edition | Any |
Header | S4ModApi.h |
Library | settlers4api.lib |
DLL | settlers4api.dll |