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