chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[PATCH] another patch for path problem
[elogind.git]
/
klibc
/
klibc
/
atox.c
1
/*
2
* atox.c
3
*
4
* atoi(), atol(), atoll()
5
*/
6
7
#include <inttypes.h>
8
#include <stdlib.h>
9
#include <stdio.h>
10
11
TYPE NAME (const char *nptr)
12
{
13
return (TYPE) strntoumax(nptr, (char **)NULL, 10, ~(size_t)0);
14
}