RTEMS CPU Kit with SuperCore  4.11.3
Functions
rtl-string.c File Reference

RTEMS Run-Time Linker String managment. More...

#include <string.h>
#include "rtl-allocator.h"
#include "rtl-string.h"
Include dependency graph for rtl-string.c:

Functions

char * rtems_rtl_strdup (const char *s1)
 A string duplicate that uses the RTL allocator. More...
 

Detailed Description

RTEMS Run-Time Linker String managment.

Function Documentation

◆ rtems_rtl_strdup()

char* rtems_rtl_strdup ( const char *  s1)

A string duplicate that uses the RTL allocator.

Parameters
s1The string to duplicate.
Returns
char* The copy of the string. NULL if there is no memory.