-
Notifications
You must be signed in to change notification settings - Fork 0
/
ycmem.h
executable file
·23 lines (19 loc) · 1.19 KB
/
ycmem.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ycmem.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ihhrabar <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/20 13:49:22 by ihhrabar #+# #+# */
/* Updated: 2023/03/20 13:49:23 by ihhrabar ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef YCMEM_H
# define YCMEM_H
// Set the value of len bytes at b to the value of c
void *ymem_set(void *b, char c, unsigned int len);
// Copy n bytes from src to dst (the equivalent of memcpy) If memory areas
// overlap, the behavior is undefined.
void *ymem_copy(void *dst, const void *src, unsigned int n);
#endif