udi_memset(3udi)


Memory initialization

SYNOPSIS

#include <udi.h>

void *udi_memset (

	void *s,

	udi_ubit8_t c,

	udi_size_t n );
 

ARGUMENTS s is a pointer to the memory area to be initialized.

c is the unsigned 8-bit value to use for initialization.

n is the size of the memory area (in bytes).

DESCRIPTION The udi_memset function is used to fill in the first n bytes of the memory area pointed to by the s argument with the unsigned byte value of c.

RETURN VALUES This function returns a pointer to the memory area s.


UDI Core Specification Contents