An open API service indexing awesome lists of open source software.

https://github.com/srph/ctoi

Converts a character to an integer
https://github.com/srph/ctoi

Last synced: 11 months ago
JSON representation

Converts a character to an integer

Awesome Lists containing this project

README

          

## ctoi
Converts a `char` to an `int`.

### Usage
```c
#import
#import "ctoi.h"
#import "ctoi.c"

int main(void)
{
printf("%d", ctoi('5'));
return 0;
}
```