-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_min.c
executable file
·20 lines (18 loc) · 995 Bytes
/
ft_min.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_min.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aimelda <aimelda@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/09/13 15:03:08 by aimelda #+# #+# */
/* Updated: 2019/09/13 15:03:25 by aimelda ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
size_t ft_min(size_t n1, size_t n2)
{
if (n1 < n2)
return (n1);
return (n2);
}