source: rtems/c/src/lib/libc/imfs_handlers_link.c @ 23e3ce64

4.104.114.84.95
Last change on this file since 23e3ce64 was e5d6705e, checked in by Joel Sherrill <joel.sherrill@…>, on 06/30/00 at 12:33:13

Patch from Chris Johns <cjohns@…> to add support for
stat()'ing a symbolic link. This is needed to support the port
of the BSD commands like ls to RTEMS.

  • Property mode set to 100644
File size: 818 bytes
Line 
1/*
2 *  Link Operations Table for the IMFS
3 *
4 *  COPYRIGHT (c) 1989-1999.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.OARcorp.com/rtems/license.html.
10 *
11 *  $Id$
12 */
13
14#include <errno.h>
15
16#include "imfs.h"
17
18/*
19 *  Handler table for IMFS device nodes
20 */
21
22rtems_filesystem_file_handlers_r IMFS_link_handlers = {
23  NULL,       /* open */
24  NULL,       /* close */
25  NULL,       /* read */
26  NULL,       /* write */
27  NULL,       /* ioctl */
28  NULL,       /* lseek */
29  IMFS_stat,  /* stat */
30  NULL,       /* fchmod */
31  NULL,       /* ftruncate */
32  NULL,       /* fpathconf */
33  NULL,       /* fsync */
34  NULL,       /* fdatasync */
35  NULL,       /* fcntl */
36  IMFS_rmnod
37};
Note: See TracBrowser for help on using the repository browser.