RTEMS Logo

RTEMS 4.7.1 On-Line Library


evalpath Handler

PREV UP NEXT Bookshelf RTEMS Filesystem Design Guide

5.4.1.1: evalpath Handler

Corresponding Structure Element:

evalpath

Arguments:

  const char                        *pathname,      /* IN     */
  int                                flags,         /* IN     */
  rtems_filesystem_location_info_t  *pathloc        /* IN/OUT */

Description:

This routine is responsible for evaluating the pathname passed in based upon the flags and the valid rthems_filesystem_location_info_t. Additionally, it must make any changes to pathloc necessary to identify the pathname node. This should include calling the evalpath for a mounted filesystem, if the given filesystem supports the mount command.

This routine returns a 0 if the evaluation was successful. Otherwise, it returns a -1 and sets errno to the correct error.

This routine is required and should NOT be set to NULL.


PREV UP NEXT Bookshelf RTEMS Filesystem Design Guide

Copyright © 1988-2004 OAR Corporation