-
Notifications
You must be signed in to change notification settings - Fork 5
memset_s
nyfrk edited this page Aug 22, 2020
·
1 revision
Copy a block of memory while performing a safe write. This function will not trip an exception if no memory is committed at the destination address.
See memget_s if you need a safe read operation instead.
void* memset_s(
void* dst,
const void* src,
size_t len
);
dst
The destination where the bytes are copied to. Can be an invalid address.
src
The source from where the bytes are copied from. Must be a valid 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 |