4.115
Last change
on this file since ae5fe7e6 was
ae5fe7e6,
checked in by Chris Johns <chrisj@…>, on 10/27/14 at 01:09:41
|
cpukit: Add libdl with the Runtime Loader (RTL) code.
This is a merge of the RTL project.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | /* |
---|
2 | * COPYRIGHT (c) 2012-2013 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.com/license/LICENSE. |
---|
7 | */ |
---|
8 | /** |
---|
9 | * @file |
---|
10 | * |
---|
11 | * @ingroup rtems_rtl |
---|
12 | * |
---|
13 | * @brief RTEMS Run-Time Linker Object Support. |
---|
14 | */ |
---|
15 | |
---|
16 | #if !defined (_RTEMS_RTL_FIND_FILE_H_) |
---|
17 | #define _RTEMS_RTL_FIND_FILE_H_ |
---|
18 | |
---|
19 | #include <rtems.h> |
---|
20 | #include <rtems/chain.h> |
---|
21 | |
---|
22 | #ifdef __cplusplus |
---|
23 | extern "C" { |
---|
24 | #endif /* __cplusplus */ |
---|
25 | |
---|
26 | /** |
---|
27 | * Find a file on disk given a name and a path. |
---|
28 | * |
---|
29 | * @param name The file name to find. Can be relative or absolute. |
---|
30 | * @param paths The paths to search. |
---|
31 | * @param file_name Place the full path in this location if found. |
---|
32 | * @param size The size of the file if found as returned by the 'stat' call. |
---|
33 | * @retval true The file was found. |
---|
34 | * @retval false The file was not found. |
---|
35 | */ |
---|
36 | bool rtems_rtl_find_file (const char* name, |
---|
37 | const char* paths, |
---|
38 | const char** file_name, |
---|
39 | size_t* size); |
---|
40 | |
---|
41 | #ifdef __cplusplus |
---|
42 | } |
---|
43 | #endif /* __cplusplus */ |
---|
44 | |
---|
45 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.