PatchworkOS
Loading...
Searching...
No Matches
strcpy_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 strcpy_s (char *_RESTRICT s1, rsize_t s1max, const char *_RESTRICT s2)
 

Function Documentation

◆ strcpy_s()

errno_t strcpy_s ( char *_RESTRICT  s1,
rsize_t  s1max,
const char *_RESTRICT  s2 
)

Definition at line 9 of file strcpy_s.c.

References _CONSTRAINT_VIOLATION, _constraintHandler, EINVAL, and NULL.