Subversion Repositories SvarDOS

Rev

Rev 2213 | Rev 2220 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2213 Rev 2218
Line 972... Line 972...
972
  while (len--) {
972
  while (len--) {
973
    *d = 0;
973
    *d = 0;
974
    d++;
974
    d++;
975
  }
975
  }
976
}
976
}
-
 
977
 
-
 
978
 
-
 
979
/* like memset() */
-
 
980
void sv_memset(void *dst, unsigned char c, unsigned short len) {
-
 
981
  unsigned char *d = dst;
-
 
982
  while (len--) {
-
 
983
    *d = c;
-
 
984
    d++;
-
 
985
  }
-
 
986
}