Nothing to see here

This commit is contained in:
2023-08-22 23:14:13 +03:00
parent 0f9928b611
commit 2d212866ec
28 changed files with 735 additions and 76 deletions

22
proven-point/memset.c Normal file
View File

@@ -0,0 +1,22 @@
#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);
}