libft
Functions
ft_max.c File Reference

Go to the source code of this file.

Functions

int ft_max (int a, int b)
 Returns the maximum of two integer arguments. More...
 

Function Documentation

◆ ft_max()

int ft_max ( int  a,
int  b 
)

Returns the maximum of two integer arguments.

Note
This function is only needed, since "The Norme" (the code standard at School 42) forbids the use of parametrized macros.
Parameters
[in]aThe first integer to compare.
[in]bThe second integer to compare.
Returns
The larger of the two integers.

Definition at line 23 of file ft_max.c.