9base

revived minimalist port of Plan 9 userland to Unix
git clone git://git.suckless.org/9base
Log | Files | Refs | README | LICENSE

atoll.c (86B)


      1 #include <u.h>
      2 #include <libc.h>
      3 
      4 vlong
      5 atoll(char *s)
      6 {
      7 	return strtoll(s, 0, 0);
      8 }
      9