summaryrefslogtreecommitdiff
path: root/src/stdlib/atol.c
blob: 0a1e35d5cfce668e3a53b326d8c9c4416d1bfb79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#if 0

#include <stdlib.h>

/** convert string to long integer **/

long int atol(const char * nptr)
{
	return strtol(nptr, (char**)NULL, 10);
}

/***
converts the string at ARGUMENT(nptr) to a TYPE(long int) value,
using base 10. The conversion goes until the first non-digit character.
***/

/*
LC_CTYPE
RETURN_SUCCESS(the converted value)
STDC(1)
*/


#endif