RTEMS  5.1
Functions
rtl-string.c File Reference

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

#include <string.h>
#include <rtems/rtl/rtl-allocator.h>
#include "rtl-string.h"

Functions

char * rtems_rtl_strdup (const char *s1)
 

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.