source: rtems/cpukit/libfs/src/defaults/default_eval_path.c @ 255fe43

Last change on this file since 255fe43 was 255fe43, checked in by Joel Sherrill <joel@…>, on 03/01/22 at 20:40:44

cpukit/: Scripted embedded brains header file clean up

Updates #4625.

  • Property mode set to 100644
File size: 621 bytes
Line 
1/**
2 * @file
3 *
4 * @ingroup LibIOFSOps File System Operations
5 *
6 * @brief RTEMS Default File System evaluates relative pathname to absolute
7 */
8
9/*
10 * Copyright (c) 2012 embedded brains GmbH.  All rights reserved.
11 *
12 * The license and distribution terms for this file may be
13 * found in the file LICENSE in this distribution or at
14 * http://www.rtems.org/license/LICENSE.
15 */
16
17#ifdef HAVE_CONFIG_H
18#include "config.h"
19#endif
20
21#include <rtems/libio_.h>
22
23void rtems_filesystem_default_eval_path(
24  rtems_filesystem_eval_path_context_t *ctx
25)
26{
27  ctx->pathlen = 0;
28  rtems_filesystem_location_detach(&ctx->currentloc);
29}
Note: See TracBrowser for help on using the repository browser.