memset.c File Reference

Go to the source code of this file.

Functions

int memcmp (char *s1, char *s2, int n)
char * memcpy (char *s1, char *s2, int n)
void memset (char *s, int c, int n)


Function Documentation

int memcmp ( char *  s1,
char *  s2,
int  n 
)

Definition at line 36 of file memset.c.

Referenced by get_oleheader(), OLE_is_file_OLE(), putconst(), and sameconst().

00038 {
00039         char *se;
00040 
00041         for(se = s1 + n; s1 < se; s1++, s2++)
00042                 if (*s1 != *s2)
00043                         return *s1 - *s2;
00044         return 0;
00045         }

Here is the caller graph for this function:

char* memcpy ( char *  s1,
char *  s2,
int  n 
)

Definition at line 51 of file memset.c.

Referenced by ccomplexf(), CloneArc(), ClonePolyline(), CloneRectangle(), CloneText(), cloneUserData(), consconv(), conspower(), ConvertSelection(), copyMatElement(), cpblock(), createDoubleArrayCopy(), createIntArrayCopy(), createNewArrayFromSource(), cstblk4(), double2z(), doubleArrayCopy(), dsort(), dsslti4(), F77ToSci(), FindChildren(), gdImageSetStyle(), GetPartVect(), GetPartVectd(), init_agenda(), Initialize(), InsertChar(), intArrayCopy(), intcpass2(), make_ptr(), md5_append(), md5_process(), mxRealloc(), mxSetIr(), mxSetJc(), mxSetM(), mxSetN(), mxSetNzmax(), mxSetPi(), mxSetPr(), OLE_convert_directory(), OLE_get_block(), OLE_get_miniblock(), OLEUNWRAP_decode_attachment(), paksazi(), putif(), putwhile(), ReadLine(), realloc(), ReAllocScreenBuffer(), s_cat(), scheduler(), sciReturnUserData(), SciToF77(), SetValues(), SortStrings(), tcslti4(), tcsltj4(), VecEg1(), wr_globals(), and z2double().

00053 {
00054         char *s0 = s1, *se = s1 + n;
00055 
00056         while(s1 < se)
00057                 *s1++ = *s2++;
00058         return s0;
00059         }

Here is the caller graph for this function:

void memset ( char *  s,
int  c,
int  n 
)

Definition at line 65 of file memset.c.

Referenced by _uninit_f2c(), argsort(), Callback_NEWSCILAB(), calloc(), ConfigurePrinterDialogBox(), DispStringAngle(), do_ud(), fileinit(), funnamestore(), GetFileWindow(), GetPrinterDC(), hashtable_expand(), mk_hashtab(), np_init(), OLE_convert_directory(), OLE_decode_file(), OLE_decode_stream(), OLE_dir_init(), ON_EVENT_GRAPH_WM_KEYDOWN(), ON_EVENT_GRAPH_WM_KEYUP(), PrintFile(), PrintString(), putentries(), ReadLine(), SciMakeFont(), TCL_EvalScilabCmd(), TextMakeFont(), and TextSelectFont().

00067 {
00068         char *se = s + n;
00069 
00070         while(s < se)
00071                 *s++ = c;
00072         }

Here is the caller graph for this function:


Generated on Sun Mar 4 15:09:01 2007 for Scilab [trunk] by  doxygen 1.5.1