RTEMS: cpukit/libdl/rtl-find-file.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Functions
rtl-find-file.h File Reference
API » RTEMS Runtime Link Editor

RTEMS Run-Time Linker Object Support. More...

`#include <rtems.h>`
`#include <rtems/chain.h>`

Go to the source code of this file.

## Functions
bool | rtems_rtl_find_file (const char *name, const char *paths, const char **file_name, size_t *size)

## Detailed Description

RTEMS Run-Time Linker Object Support.

## Function Documentation

## ◆ rtems_rtl_find_file()

bool rtems_rtl_find_file | ( | const char * | name,
|  | const char * | paths,
|  | const char ** | file_name,
|  | size_t * | size
| ) |  |

Find a file on disk given a name and a path.

Parameters

  name | The file name to find. Can be relative or absolute.
  paths | The paths to search.
  file_name | Place the full path in this location if found.
  size | The size of the file if found as returned by the 'stat' call.

Return values

  true | The file was found.
  false | The file was not found.