maxishell
Implementation of a shell for Linux-like systems
Loading...
Searching...
No Matches
ft_print_int.c File Reference
#include "libft.h"
Include dependency graph for ft_print_int.c:

Go to the source code of this file.

Functions

int ft_print_int (int n)
 

Function Documentation

◆ ft_print_int()

int ft_print_int ( int  n)

Definition at line 15 of file ft_print_int.c.

16{
17 int len;
18 char *num;
19
20 num = ft_itoa(n);
21 len = ft_print_str(num);
22 free(num);
23 return (len);
24}
int ft_print_str(char *str)
char * ft_itoa(int n)
Definition ft_itoa.c:40

References ft_itoa(), and ft_print_str().

Referenced by ft_formatssssss().

Here is the call graph for this function:
Here is the caller graph for this function: