libft
Loading...
Searching...
No Matches
ft_utils.h
Go to the documentation of this file.
1
15#ifndef FT_UTILS_H
16#define FT_UTILS_H
17
30void ft_swap(void* a, void* b, size_t size);
31int ft_rand(int min, int max);
32
// end of utilities group
34
35#endif
void ft_swap(void *a, void *b, size_t size)
Swaps the contents of two memory blocks.
Definition ft_utils.c:40
int ft_rand(int min, int max)
Returns a random integer in the range [min, max] using xorshift32.
Definition ft_utils.c:96