Skip to content

rept0id/ratatoi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ratatoi

πŸ€πŸ₯„πŸ²

Ratatoi is a C libary that wraps stdlib's strtol (as atoi does), but it's evil.

If an overflow is detected, it calls abort(), you crash and get Aborted (core dumped).

This way, you prioritize memory safety over silently running in a wrong state, without needing to call strtol and check errors manually everywhere.

About

πŸ€πŸ₯„πŸ² an evil "atoi" that crashes when it must (C lib)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages