|
| hmemset| Summary | |
#include <string.h>
void huge *hmemset (
void huge *buf, /* buffer to initialize */
char c, /* byte value to set */
unsigned long len); /* buffer length */
| | Description | | The hmemset function sets the first len bytes in buf to c. Note - This function uses huge pointers to objects.
| | Return Value | | The hmemset function returns dest. | | See Also | | memset | | Example | |
#include <string.h>
#include <stdio.h> /* for printf */
void tst_memset (void) {
char buf [10];
hmemset (buf, '\0', sizeof (buf));
/* fill buffer with null characters */
}
|
|
|