OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [stdlib/] [atol.c] - Blame information for rev 308

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
/*
2
 * Andy Wilson, 2-Oct-89.
3
 */
4
 
5
#include <stdlib.h>
6
#include <_ansi.h>
7
 
8
#ifndef _REENT_ONLY
9
long
10
_DEFUN (atol, (s), _CONST char *s)
11
{
12
  return strtol (s, NULL, 10);
13
}
14
#endif /* !_REENT_ONLY */
15
 
16
long
17
_DEFUN (_atol_r, (ptr, s), struct _reent *ptr _AND _CONST char *s)
18
{
19
  return _strtol_r (ptr, s, NULL, 10);
20
}
21
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.