source: rtems/cpukit/libdl/rtl-string.h @ f59d435d

5
Last change on this file since f59d435d was 990adc5, checked in by Sebastian Huber <sebastian.huber@…>, on 12/13/17 at 07:20:30

libdl: Include <rtems/rtl/rtl-*.h>

Prepare for header file move to common include directory.

Update #3254.

  • Property mode set to 100644
File size: 749 bytes
Line 
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 */
8/**
9 * @file
10 *
11 * @ingroup rtems_rtl
12 *
13 * @brief RTEMS Run-Time Linker String managment.
14 */
15
16#if !defined (_RTEMS_RTL_STRING_H_)
17#define _RTEMS_RTL_STRING_H_
18
19#include <rtems/rtl/rtl-indirect-ptr.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif /* __cplusplus */
24
25/**
26 * A string duplicate that uses the RTL allocator.
27 *
28 * @param s1 The string to duplicate.
29 * @return char* The copy of the string. NULL if there is no memory.
30 */
31char* rtems_rtl_strdup (const char *s1);
32
33#ifdef __cplusplus
34}
35#endif /* __cplusplus */
36
37#endif
Note: See TracBrowser for help on using the repository browser.