tgrekov-pipex
HIVE pipex May 2024
Loading...
Searching...
No Matches
ft_itoa.c File Reference

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_itoa.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tgrekov <tgrekov@student.hive.fi> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/10/27 20:57:54 by tgrekov #+# #+# */
/* Updated: 2023/11/09 20:12:57 by tgrekov ### ########.fr */
/* */
/* ************************************************************************** */

Definition in file ft_itoa.c.

#include "libft.h"
Include dependency graph for ft_itoa.c:

Go to the source code of this file.

Functions

char * ft_itoa (int n)
 Converts integer n to an allocated ASCII string.
 

Function Documentation

◆ ft_itoa()

char * ft_itoa ( int  n)

Converts integer n to an allocated ASCII string.

Parameters
[in]nInteger to convert
Return values
char*Null-terminated string containing an ASCII representation of n, preceded by '-' if n is negative.
If allocation fails, returns NULL.

Definition at line 50 of file ft_itoa.c.

References ft_calloc().

Here is the call graph for this function: