RTEMS Logo

RTEMS 4.9.3 On-Line Library


link Handler

PREV UP NEXT Bookshelf RTEMS Filesystem Design Guide

5.4.1.3: link Handler

Corresponding Structure Element:

link

Arguments:

rtems_filesystem_location_info_t    *to_loc,      /* IN */
rtems_filesystem_location_info_t    *parent_loc,  /* IN */
const char                          *token        /* IN */

Description:

This routine is used to create a hard-link.

It will first examine the st_nlink count of the node that we are trying to. If the link count exceeds LINK_MAX an error will be returned.

The name of the link will be normalized to remove extraneous separators from the end of the name.

This routine is not required and may be set to NULL.


PREV UP NEXT Bookshelf RTEMS Filesystem Design Guide

Copyright © 1988-2008 OAR Corporation