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