minishell
ft_atoi.c File Reference
#include <stddef.h>
#include "ft_string.h"
Include dependency graph for ft_atoi.c:

Go to the source code of this file.

Functions

int ft_atoi (const char *str)
 

Function Documentation

◆ ft_atoi()

int ft_atoi ( const char *  str)

Definition at line 16 of file ft_atoi.c.

17 {
18  return ((int)ft_strtol(str, NULL, 10));
19 }
long ft_strtol(const char *str, char **endptr, int base)
Definition: ft_strtol.c:69
Here is the call graph for this function: