-
Notifications
You must be signed in to change notification settings - Fork 0
/
mem.h
29 lines (25 loc) · 1.4 KB
/
mem.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* mem.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: scambier <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/24 16:49:41 by scambier #+# #+# */
/* Updated: 2024/05/10 18:54:19 by scambier ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef MEM_H
# define MEM_H
# include <stddef.h>
void *ft_memset(void *dst, int c, size_t n);
void *ft_memcpy(void *dst, const void *src, size_t n);
void *ft_memmove(void *dst, const void *src, size_t n);
void ft_bzero(void *dst, size_t n);
void *ft_memchr(const void *str, int c, size_t n);
int ft_memcmp(const void *p1, const void *p2, size_t n);
void *ft_calloc(size_t nmemb, size_t size);
void ft_pmem(void *ptr, int len);
void *ft_memdup(void *src, size_t size);
void ft_memcat(void **dst, int dst_len, void *src, int src_len);
#endif