- Code: Select all
void *
mymemset(void * s, int c, size_t n)
{
char * t = s;
int i;
for(i=0;i<n;i++)
{
t[i]=c;
}
return(t);
}
void *
mymemset(void * s, int c, size_t n)
{
char * t = s;
int i;
for(i=0;i<n;i++)
{
t[i]=c;
}
return(t);
}
Users browsing this forum: No registered users and 1 guest