mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 19:43:04 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
18
sdk/lib/crt/mem/memset.c
Normal file
18
sdk/lib/crt/mem/memset.c
Normal file
|
@ -0,0 +1,18 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma function(memset)
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
void* __cdecl memset(void* src, int val, size_t count)
|
||||
{
|
||||
char *char_src = (char *)src;
|
||||
|
||||
while(count>0) {
|
||||
*char_src = val;
|
||||
char_src++;
|
||||
count--;
|
||||
}
|
||||
return src;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue