![]() |
RTEMS 6.1
|
RTEMS Run-Time Linker Error. More...
#include <errno.h>#include <fcntl.h>#include <inttypes.h>#include <stdlib.h>#include <stdio.h>#include <string.h>#include <unistd.h>#include <rtems/libio_.h>#include <rtems/rtl/rtl.h>#include "rtl-find-file.h"#include "rtl-error.h"#include "rtl-string.h"#include <rtems/rtl/rtl-trace.h>Functions | |
| bool | rtems_rtl_find_file (const char *name, const char *paths, const char **file_name, size_t *size) |
RTEMS Run-Time Linker Error.
| 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.
| 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. |
| true | The file was found. |
| false | The file was not found. |