memset.c

The libc implementation

Author

Martin ‘Solar’ Baute

License

Public Domain

Summary
memset.cThe libc implementation
Functions
memsetFills s with n times the value c

Functions

memset

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

Fills s with n times the value c

Returns the value of s

void * memset(void *s,
int c,
size_t n)
Fills s with n times the value c