RTEMS: cpukit/libdl/rtl-string.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Functions
rtl-string.c File Reference
API » RTEMS Runtime Link Editor

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

  s1 | The string to duplicate.

Returns
  char* The copy of the string. NULL if there is no memory.