Nothing to see here
This commit is contained in:
22
memset.c
22
memset.c
@@ -1,22 +0,0 @@
|
||||
#include "main.h"
|
||||
|
||||
/**
|
||||
* _memset - sets values of bytes to specific value
|
||||
*
|
||||
* @adr: head address
|
||||
* @bval: number of bytes
|
||||
*
|
||||
* Return: pointer to place
|
||||
*/
|
||||
|
||||
char *_memset(char *adr, int bval)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < _strlen(adr); i++)
|
||||
{
|
||||
*(adr + i) = bval;
|
||||
}
|
||||
|
||||
return (adr);
|
||||
}
|
||||
Reference in New Issue
Block a user