RTEMS CPU Kit with SuperCore  4.11.3
rtl-string.h
Go to the documentation of this file.
1 /*
2  * COPYRIGHT (c) 2012 Chris Johns <chrisj@rtems.org>
3  *
4  * The license and distribution terms for this file may be
5  * found in the file LICENSE in this distribution or at
6  * http://www.rtems.org/license/LICENSE.
7  */
16 #if !defined (_RTEMS_RTL_STRING_H_)
17 #define _RTEMS_RTL_STRING_H_
18 
19 #include "rtl-indirect-ptr.h"
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif /* __cplusplus */
24 
31 char* rtems_rtl_strdup (const char *s1);
32 
33 #ifdef __cplusplus
34 }
35 #endif /* __cplusplus */
36 
37 #endif
RTEMS Run-Time Linker Indirect Pointer Management allows memory compaction in the allocator...
char * rtems_rtl_strdup(const char *s1)
A string duplicate that uses the RTL allocator.
Definition: rtl-string.c:22