* <!-- description --> * @brief Sets "num" bytes in the memory pointed to by "ptr" to "val". * If the provided parameters are valid, returns 0, otherwise * returns LOADER_FAILURE. * * <!-- inputs/outputs --> * @param pmut_ptr a pointer to the memory to set * @param val the value to set each byte to * @param num the number of bytes in "ptr" to set to "val". */
| 220 | * @param num the number of bytes in "ptr" to set to "val". |
| 221 | */ |
| 222 | void |
| 223 | platform_memset( |
| 224 | void *const pmut_ptr, uint8_t const val, uint64_t const num) NOEXCEPT |
| 225 | { |
| 226 | platform_expects(NULLPTR != pmut_ptr); |
| 227 | memset(pmut_ptr, val, num); |
| 228 | } |
| 229 | |
| 230 | /** |
| 231 | * <!-- description --> |
nothing calls this directly
no test coverage detected