Corewar documentation 1.0.0
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