text: #include <unistd.h>
  
  void	ft_putchar(char c)
  {
  	write (1, &c, 1);
  }
  
  void	ft_putnbr(int nb)
  {
  	if (nb < 0)
  	{
  		ft_putchar('-');
  		nb = -nb;
  	}
  	if (nb >= 10)
  	{
  		ft_putnbr(nb / 10);
  		nb = nb % 10 ;
  	}
  	if (nb < 10)
  	{
  		ft_putchar(nb + 48);
  	}
  }
  
  int	main(void)
  {
  	int		a;
  
  	a = -2147483648;
  	ft_putnbr(a);
  	a = -2147483647;
  	ft_putnbr(a);
  	a = 2147483647;
  	ft_putnbr(a);
  	a = 0;
  	ft_putnbr(a);
  }
  