 | C251 User's Guide |  |
|
|
| xmemset| Summary | | | Description | The xmemset function sets the first len bytes in buf to c. Note - This function uses xdata 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, xmemcpy | | Example |
#include <string.h>
#include <stdio.h> /* for printf */
void tst_memset (void) {
char xdata buf [10];
xmemset (buf, '\0', sizeof (buf));
/* fill buffer with null characters */
}
|
|
|