42sh 1.0.0
Create a shell in C
Loading...
Searching...
No Matches
my_str_isnum.c File Reference

The file containing the my_str_isnum function. More...

#include "my.h"

Functions

int my_str_isnum (char const *str)
 Checks if a string (str) is a number.
 

Detailed Description

The file containing the my_str_isnum function.

Author
Nicolas TORO

Function Documentation

◆ my_str_isnum()

int my_str_isnum ( char const * str)

Checks if a string (str) is a number.

Parameters
strThe string to check
Returns
int 1 if the string is a number, 0 otherwise
Author
Nicolas TORO