Exemplo n.º 1
0
int
number(const char *s)
{
	intmax_t n = atomax10(s);

	if (n < 0 || n > INT_MAX)
		badnum(s);

	return n;
}
Exemplo n.º 2
0
Arquivo: test.c Projeto: alimon/dash
static inline intmax_t getn(const char *s)
{
    return atomax10(s);
}