| memset | Function (ROM Call 0x27C)

mem.h, string.h

void *memset (void *buffer, short c, unsigned long num);

Sets num bytes of buffer to byte c.

memset sets the first num bytes of the array buffer to the character c. memset is faster than _memset, because it sets a memory in a 4-byte chunks as long as possible. memset returns buffer.

Used by: calloc, HeapGetHandle, cmd_cyclepic, cmd_dialog, cmd_newdata, cmd_newplot, cmd_request, Dialog, DialogAdd, DialogNew, VarNew, VarSaveAs, EV_defaultHandler, handleRclKey, handleVarLinkKey, MO_modeDialog, FOpen, ClrScr, HS_newFIFONode, LIO_Receive, DynMenuAdd, MenuBegin, MenuKey, MenuNew, MenuOff, MenuOn, MenuTopRedef, MenuTopSelect, PopupBegin, PopupClear, PopupNew, EV_quit, GM_Shade, GR_Pan, GT_Trace, GZ_SetFactors, Regraph, SP_Define, spike_in_editor, spike_titles_in_editor, EM_moveSymToExtMem, WinClr, WinOpen, WinReOpen, ROM Call 0x3E8, ROM Call 0x3F7, ROM Call 0x3F8, ROM Call 0x40C, ROM Call 0x45B, ROM Call 0x486, ROM Call 0x5F1, ROM Call 0x5FE, ROM Call 0x601