Subversion Repositories Kolibri OS

Rev

Rev 4874 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4874 Rev 4921
Line 7... Line 7...
7
INDEX
7
INDEX
8
	_strtol_r
8
	_strtol_r
Line 9... Line 9...
9
 
9
 
10
ANSI_SYNOPSIS
10
ANSI_SYNOPSIS
11
	#include 
11
	#include 
Line 12... Line 12...
12
        long strtol(const char *<[s]>, char **<[ptr]>,int <[base]>);
12
        long strtol(const char *restrict <[s]>, char **restrict <[ptr]>,int <[base]>);
13
 
13
 
Line 14... Line 14...
14
        long _strtol_r(void *<[reent]>, 
14
        long _strtol_r(void *<[reent]>, 
15
                       const char *<[s]>, char **<[ptr]>,int <[base]>);
15
                       const char *restrict <[s]>, char **restrict <[ptr]>,int <[base]>);
16
 
16
 
17
TRAD_SYNOPSIS
17
TRAD_SYNOPSIS
Line 131... Line 131...
131
 * alphabets and digits are each contiguous.
131
 * alphabets and digits are each contiguous.
132
 */
132
 */
133
long
133
long
134
_DEFUN (_strtol_r, (rptr, nptr, endptr, base),
134
_DEFUN (_strtol_r, (rptr, nptr, endptr, base),
135
	struct _reent *rptr _AND
135
	struct _reent *rptr _AND
136
	_CONST char *nptr _AND
136
	_CONST char *__restrict nptr _AND
137
	char **endptr _AND
137
	char **__restrict endptr _AND
138
	int base)
138
	int base)
139
{
139
{
140
	register const unsigned char *s = (const unsigned char *)nptr;
140
	register const unsigned char *s = (const unsigned char *)nptr;
141
	register unsigned long acc;
141
	register unsigned long acc;
142
	register int c;
142
	register int c;
Line 214... Line 214...
214
 
214
 
Line 215... Line 215...
215
#ifndef _REENT_ONLY
215
#ifndef _REENT_ONLY
216
 
216
 
217
long
217
long
218
_DEFUN (strtol, (s, ptr, base),
218
_DEFUN (strtol, (s, ptr, base),
219
	_CONST char *s _AND
219
	_CONST char *__restrict s _AND
220
	char **ptr _AND
220
	char **__restrict ptr _AND
221
	int base)
221
	int base)
222
{
222
{