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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc2/] [newlib/] [libc/] [stdlib/] [atol.c] - Rev 802

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

/*
 * Andy Wilson, 2-Oct-89.
 */
 
#include <stdlib.h>
#include <_ansi.h>
 
#ifndef _REENT_ONLY
long
_DEFUN (atol, (s), _CONST char *s)
{
  return strtol (s, NULL, 10);
}
#endif /* !_REENT_ONLY */
 
long
_DEFUN (_atol_r, (ptr, s), struct _reent *ptr _AND _CONST char *s)
{
  return _strtol_r (ptr, s, NULL, 10);
}
 
 

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

powered by: WebSVN 2.1.0

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