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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [libc/] [string/] [strdup.c] - Blame information for rev 461

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

Line No. Rev Author Line
1 148 jeremybenn
#ifndef _REENT_ONLY
2
 
3
#include <reent.h>
4
#include <stdlib.h>
5
#include <string.h>
6
 
7
char *
8
_DEFUN (strdup, (str), _CONST char *str)
9
{
10
  return _strdup_r (_REENT, str);
11
}
12
 
13
#endif /* !_REENT_ONLY */

powered by: WebSVN 2.1.0

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