libft
Functions
ft_abs.c File Reference

Go to the source code of this file.

Functions

int ft_abs (int a)
 Returns the absolute value of the argument. More...
 

Function Documentation

◆ ft_abs()

int ft_abs ( int  a)

Returns the absolute value of the argument.

Note
This function is only needed, since the "Norme" (the code standard at School 42) forbids the use of parametrized macros.
Parameters
[in]aThe integer to take an absolute value of

Definition at line 21 of file ft_abs.c.