23 lines
1012 B
C
23 lines
1012 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_itoa.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: ntrahy <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2015/11/25 17:56:12 by ntrahy #+# #+# */
|
|
/* Updated: 2016/01/28 13:55:55 by ntrahy ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "libft.h"
|
|
|
|
char *ft_itoa(int n)
|
|
{
|
|
char *s;
|
|
|
|
if (!(s = ft_itoa_base(n, 10)))
|
|
return (NULL);
|
|
return (s);
|
|
}
|