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

The file containing the my_char_is_num function. More...

#include "my.h"

Functions

int my_char_is_num (char c)
 Checks if a char (c) is a number.
 

Detailed Description

The file containing the my_char_is_num function.

Author
Nicolas TORO

Function Documentation

◆ my_char_is_num()

int my_char_is_num ( char const c)

Checks if a char (c) is a number.

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