| Summary | |
| Description | The xmemset function sets the first len bytes in buf to c. Note - This function uses xhuge pointers to objects and may be used in any memory model other than Tiny Model.
|
| Return Value | The xmemset function returns dest. |
| See Also | fmemset, memset, xmemccpy, xmemchr, xmemcmp, xmemcpy, xmemmove |
| Example |
#include <string.h>
#include <stdio.h> /* for printf */
void tst_memset (void) {
char buf [10];
xmemset (buf, '\0', sizeof (buf));
/* fill buffer with null characters */
}
|