Ring1_Memory_zeroFill
Zero a memory block.
Ring1_Result
Ring1_Memory_zeroFill
(
void *p,
size_t n
)
This function assignes the value zero to the first n
Bytes of the memory block pointed to by
p
.
Parameter variables
p
- A pointer to a memory block of
n
Bytes. n
- The number of Bytes.
Return Values
Ring1_Result_Success
on success, Ring1_Result_Failure
on failure.
Post Conditions
If this function fails, then it sets the by-thread status variable.
Below is a list of failure conditions and the status codes indicating them.
Ring1_Status_InvalidArgument
p
isNULL
If this function fails, p
is not dereferenced.