]> git.lizzy.rs Git - plan9front.git/blob - sys/src/libc/port/atol.c
libregexp: improve the transition to next available thread, instruction, and generation
[plan9front.git] / sys / src / libc / port / atol.c
1 #include <u.h>
2 #include <libc.h>
3
4 long
5 atol(char *s)
6 {
7         return strtol(s, nil, 10);
8 }
9
10 int
11 atoi(char *s)
12 {
13         return strtol(s, nil, 10);
14 }