PatchworkOS
Loading...
Searching...
No Matches
memcpy_s.c File Reference
#include "common/use_annex_k.h"
#include <errno.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "common/constraint_handler.h"

Go to the source code of this file.

Functions

errno_t memcpy_s (void *_RESTRICT s1, rsize_t s1max, const void *_RESTRICT s2, rsize_t n)
 

Function Documentation

◆ memcpy_s()

errno_t memcpy_s ( void *_RESTRICT  s1,
rsize_t  s1max,
const void *_RESTRICT  s2,
rsize_t  n 
)

Definition at line 9 of file memcpy_s.c.

References _CONSTRAINT_VIOLATION, _constraintHandler, EINVAL, memset(), and NULL.