|
safec
2.1
Safe C Library - ISO TR24731 Bounds Checking Interface
|
#include "safeclib_private.h"#include "safe_mem_constraint.h"#include "mem_primitives_lib.h"#include "safe_mem_lib.h"
Include dependency graph for memset32_s.c:Go to the source code of this file.
Functions | |
| errno_t | memset32_s (uint32_t *dest, rsize_t smax, uint32_t value, rsize_t n) |
| Sets len uint32_t starting at dest to the specified value. More... | |
| errno_t memset32_s | ( | uint32_t * | dest, |
| rsize_t | smax, | ||
| uint32_t | value, | ||
| rsize_t | n | ||
| ) |
Sets len uint32_t starting at dest to the specified value.
| [out] | dest | pointer to memory that will be set to the value |
| [in] | smax | maximum number of bytes to be written |
| [in] | value | byte value to be written |
| [in] | n | number of bytes to be set |
| EOK | when operation is successful |
| ESNULLP | when dest is NULL POINTER |
| ESZEROL | when n = ZERO |
| ESLEMAX | when smax/n > RSIZE_MAX_MEM |
| ESNOSPC | when smax/4 < n |
Definition at line 73 of file memset32_s.c.